niuzhiheng / caffe

Caffe
http://caffe.berkeleyvision.org/
BSD 2-Clause "Simplified" License
317 stars 129 forks source link

Convert Images to LMDB #66

Open joshua-holly89 opened 9 years ago

joshua-holly89 commented 9 years ago

Hi! I'm a little confused about how to create a LMDB from image files on Windows.

For Unix there is a shell script: "examples\imagenet\create_imagenet.sh"

For Windows I guess you can compile an .exe? You have the "tools\convert_imageset.cpp" file. I tried to put it in Visual Studio in order to compile, but he doesnt find the includes. I dont know how to compile a single .cpp file with Visual Studio. Just found these instructions: http://stackoverflow.com/questions/19684190/how-to-compile-c-file-in-visual-studio

So how can I get a script/program that creates a LMDB from image files?