caffe icon indicating copy to clipboard operation
caffe copied to clipboard

caffe GoogLeNet model path

Open lgbwust opened this issue 11 years ago • 4 comments

I run the script "python scripts/download_model_binary.py models/bvlc_reference_googlenet" It returns ERROR: [Errno 2] No such file or directory: 'models/bvlc_reference_googlenet/readme.md' usage: download_model_binary.py [-h] dirname download_model_binary.py: error: argument dirname: Must be valid Caffe model directory with a correct readme.md I can download it now.How can I solve the problem?

lgbwust avatar Jul 15 '15 07:07 lgbwust

Please ask usage questions on the caffe-users group.

The right directory is models/bvlc_googlenet and not models/bvlc_reference_googlenet.

shelhamer avatar Jul 17 '15 03:07 shelhamer

./download_model_binary.py models/bvlc_googlenet ERROR: [Errno 2] No such file or directory: 'models/bvlc_googlenet/readme.md' usage: download_model_binary.py [-h] dirname download_model_binary.py: error: argument dirname: Must be valid Caffe model directory with a correct readme.md ubuntu@ip-172-31-6-58:~/caffe/scripts$

koolkarni avatar May 13 '16 09:05 koolkarni

The download scripts, both .py and .sh, also fail for me with identical errors(on Ubu 14.04). This seems to be a bug (although a tiny one). The easy workaround is to: 1.open the model's readme 2. In the header, get the model's url 3. from the model's dir on your local machine, download the model manually: eg: $wget 'http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel'

beaunorgeot avatar Jul 21 '16 18:07 beaunorgeot

Hi, I am having the exact same trouble. However, I am not able to download the models manually as I am working within a docker file where I do not have write permissions. Has this issue been resolved so that the scripts can be used?

Thanks!

jblakeley avatar Jun 29 '17 19:06 jblakeley