Open mjohn123 opened 7 years ago
This code is only for my personal usage so it is not neat. You can google how data layer in caffe works. I guess you need to make a folder in the format like
[path to a.jpg] [lable for a] [path to b.jpg] [lable for b]
This set up is not fast. Try to use hdf5, caffe has datalayer specific for hdf5 format files. we tried the net on imagenet and our computer don't have enough space for an hdf5 files that contains all images. Since cifar is very light, just write a script to produce a hdf5 file in the right format. Also, they only provided the deploy prototxt because they have additional code to preprocess the data. I guess they have pycaffe code that is not posted for preprocessing. But cifar10 is simple, I feel you can ignore that step.
Hello, it is very good one to start with ResNet. I also want to test it in the Cifar10 dataset. In the
./prototxt/ResNet-50-deploy.prototxt
file, you usedsource: "/home/alisc/group/MengLin/training_images.txt"
I did not known which is dataset used in your path. Is it possible to change it for testing with the Cifar10 dataset. I download it to my computer as
How could I modify these following lines for using the Cifar10 dataset? Thank you in advance