c++ - How to load the image with caffe? -
i'm writing code machine learning program using caffe-windows. want load image file. but, don't know convert image leveldb. can not load image? mean, want image load. not leveldb data.
i'm using caffe-windows , visual studio 2013.
thank you.
converting images db(leveldb/lmdb) files can speed training because can reduce time needed network read images disk.
if still not want to, can use layer type "imagedata" instead of "data" in prototxt , set its' param
image_data_param { source: "path/to/your/images/list.txt" }
every line in list.txt provides path of image , its' label.