In the past, I have successfully used the convert_imageset.cpp into caffe files when I have needed to convert jpeg images over.
However, now I have data that is of dimension (K,K,4), in the form of numpy arrays. If these were (K,K,3) I could convert them to jpeg, but here I have depth-4 data.
I am wondering, does convert_imageset work with depth-4 data? If not, is there another way to convert the data into a form usable by caffe?