caffe icon indicating copy to clipboard operation
caffe copied to clipboard

build/tools/get_image_size: No such file or directory

Open aktaseren opened this issue 3 years ago • 1 comments

Hi @weiliu89,

Thanks a lot for making this repo available. I am having an issue with the preparation of SSD at the step of creating list as I follow README here.

(caffe_env) aktaseren@aktaseren-UX310UQK:~/caffe$ ./data/VOC0712/create_list.sh Create list for VOC2007 trainval... Create list for VOC2012 trainval... Create list for VOC2007 test... ./data/VOC0712/create_list.sh: line 41: /home/aktaseren/caffe/data/VOC0712/../../build/tools/get_image_size: No such file or directory It says there is no get_image_size directory. I actually looked at the required datasets that you stressed and I downloaded but none of them have get_image_size directory.

Am I missing any step here?

aktaseren avatar Sep 15 '21 10:09 aktaseren

Hi @aktaseren ,

It seems that you have not build caffe from source. Please follow below commands:

  1. Modify Makefile.config according to your Caffe installation. cp Makefile.config.example Makefile.config
  2. make -j8
  3. Make sure to include $CAFFE_ROOT/python to your PYTHONPATH.
  4. make py
  5. make test -j8
  6. make runtest -j8

Thanks

prabodh78 avatar Aug 27 '22 12:08 prabodh78