Hi all,
to better understand caffe, I got an interesting example online training the iris database: https://github.com/Franck-Dernoncourt/caffe_demos. Summarizing, the model has 150 examples of three kinds of flowers (50 each) that is represented by 4 inputs floats and 1 output (0, 1, 2), where each output is codified using One-of-N, so the new classes are [1,0,0], [0,1,0] and [0,0,1].
However, instead of using the HDF5 format, I would like to use the LMDB one. In order to do so, I modified the script (attached) to create the LMDB files, but I faced a problem with caffe.datum that one supports int or long as label (???). How caffe codify the output? In our MNIST example, how caffe manage the label, since it varies from 0 to 9? Does anyone know how to modify my script to make it run?
Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/x3QwPvJHUiQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/e031a261-51ff-4ce2-ad1e-596665a5db1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.