caffe GoogLeNet model path

Created on 15 Jul 2015  路  4Comments  路  Source: BVLC/caffe

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?

Most helpful comment

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

  1. In the header, get the model's url
  2. from the model's dir on your local machine, download the model manually:
    eg: $wget 'http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel'

All 4 comments

Please ask usage questions on the caffe-users group.

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

./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$

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

  1. In the header, get the model's url
  2. from the model's dir on your local machine, download the model manually:
    eg: $wget 'http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel'

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kelvinxu picture kelvinxu  路  3Comments

weather319 picture weather319  路  3Comments

FreakTheMighty picture FreakTheMighty  路  3Comments

shiorioxy picture shiorioxy  路  3Comments

prathmeshrmadhu picture prathmeshrmadhu  路  3Comments