I need to write python script that prepare data to feed it to a caffe solver.
My input is images(X) and vector of ints(Y) (I have multioutput regression problem not single Y for each X) and I try to modify Lenet to my task.
Here I found that hdf5 can be a good option - it can be used from python, but drawbacks is that we can't do data augmentation on-the-fly and input images must be float32/float64.
Also here I found an example, but in example there is only 1D data, so I'm curious what shape images should have?
Also here I found info about EUCLIDEAN_LOSS and HINGE_LOSS layers. What layer type should I use for multioutput regression?
EUCLIDEAN_LOSS,HINGE_LOSS) for layer type indicates old caffe version. Newer versions work with strings:type: "EuclideanLoss", ortype: "HIngeLoss". Make sure your caffe branch is up to date. - Shaitype: "Python"layer as an input layer to do the augmentations you want on the fly. - Shai