Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

404 Errors in ncapi/setup.sh

idata
Employee
991 Views

Hi all. I'm just getting started. Following the instructions here I got 404 errors on a few of the files, causing further failures in the script, pasted below.

 

As a side note, is there no support for preformatted text in this forum?

 

nao@life-server:~/movidius/mvncsdk/ncapi$ ./setup.sh

 

[sudo] password for nao:

 

Selecting previously unselected package mvnc.

 

(Reading database … 210759 files and directories currently installed.)

 

Preparing to unpack redist/mvnc_1.07_amd64.deb …

 

Unpacking mvnc (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Selecting previously unselected package mvnc-dev.

 

Preparing to unpack redist/mvnc-dev_1.07_amd64.deb …

 

Unpacking mvnc-dev (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Selecting previously unselected package python3-mvnc.

 

Preparing to unpack …/python3-mvnc_1.07_all.deb …

 

Unpacking python3-mvnc (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Setting up mvnc (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Setting up mvnc-dev (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Setting up python3-mvnc (0.0.36+0~20170713190651.36~1.gbpef8e6c) …

 

Processing triggers for libc-bin (2.23-0ubuntu9) …

 

--2017-09-06 16:57:36-- http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel

 

Resolving dl.caffe.berkeleyvision.org (dl.caffe.berkeleyvision.org)… 169.229.222.251

 

Connecting to dl.caffe.berkeleyvision.org (dl.caffe.berkeleyvision.org)|169.229.222.251|:80… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: 53533754 (51M) [application/octet-stream]

 

Saving to: ‘../networks/GoogLeNet/bvlc_googlenet.caffemodel’

 

bvlc_googlenet.caffemod 100%[=============================>] 51,05M 1,21MB/s in 46s

 

2017-09-06 16:58:22 (1,11 MB/s) - ‘../networks/GoogLeNet/bvlc_googlenet.caffemodel’ saved [53533754/53533754]

 

--2017-09-06 16:58:22-- http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel

 

Resolving dl.caffe.berkeleyvision.org (dl.caffe.berkeleyvision.org)… 169.229.222.251

 

Connecting to dl.caffe.berkeleyvision.org (dl.caffe.berkeleyvision.org)|169.229.222.251|:80… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: 243862414 (233M) [application/octet-stream]

 

Saving to: ‘../networks/AlexNet/bvlc_alexnet.caffemodel’

 

bvlc_alexnet.caffemodel 100%[=============================>] 232,56M 2,10MB/s in 4m 10s

 

2017-09-06 17:02:33 (952 KB/s) - ‘../networks/AlexNet/bvlc_alexnet.caffemodel’ saved [243862414/243862414]

 

--2017-09-06 17:02:33-- https://github.com/DeepScale/SqueezeNet/raw/master/SqueezeNet_v1.0/squeezenet_v1.0.caffemodel

 

Resolving github.com (github.com)… 192.30.253.113, 192.30.253.112

 

Connecting to github.com (github.com)|192.30.253.113|:443… connected.

 

HTTP request sent, awaiting response… 302 Found

 

Location: https://raw.githubusercontent.com/DeepScale/SqueezeNet/master/SqueezeNet_v1.0/squeezenet_v1.0.caffemodel [following]

 

--2017-09-06 17:02:34-- https://raw.githubusercontent.com/DeepScale/SqueezeNet/master/SqueezeNet_v1.0/squeezenet_v1.0.caffemodel

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: 5001403 (4,8M) [application/octet-stream]

 

Saving to: ‘../networks/SqueezeNet/squeezenet_v1.0.caffemodel’

 

squeezenet_v1.0.caffemo 100%[=============================>] 4,77M 15,4MB/s in 0,3s

 

Last-modified header missing -- time-stamps turned off.

 

2017-09-06 17:02:35 (15,4 MB/s) - ‘../networks/SqueezeNet/squeezenet_v1.0.caffemodel’ saved [5001403/5001403]

 

sh: 0: Can't open /opt/movidius/caffe/data/ilsvrc12/get_ilsvrc_aux.sh

 

cp: cannot stat '/opt/movidius/caffe/data/ilsvrc12/synset_words.txt': No such file or directory

 

--2017-09-06 17:02:35-- https://dl.dropboxusercontent.com/u/38822310/gender_net.caffemodel

 

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)… 162.125.65.6

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|162.125.65.6|:443… connected.

 

HTTP request sent, awaiting response… 404 Not Found

 

2017-09-06 17:02:35 ERROR 404: Not Found.

 

--2017-09-06 17:02:35-- https://dl.dropboxusercontent.com/u/38822310/age_net.caffemodel

 

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)… 162.125.65.6

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|162.125.65.6|:443… connected.

 

HTTP request sent, awaiting response… 404 Not Found

 

2017-09-06 17:02:35 ERROR 404: Not Found.

 

--2017-09-06 17:02:35-- https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto

 

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)… 162.125.65.6

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|162.125.65.6|:443… connected.

 

HTTP request sent, awaiting response… 404 Not Found

 

2017-09-06 17:02:36 ERROR 404: Not Found.

 

Traceback (most recent call last):

 

File "convert_mean.py", line 7, in

 

data = open( '../mean/age_gender/mean.binaryproto', 'rb' ).read()

 

FileNotFoundError: [Errno 2] No such file or directory: '../mean/age_gender/mean.binaryproto'

 

--2017-09-06 17:02:40-- https://github.com/BVLC/caffe/raw/master/examples/images/cat.jpg

 

Resolving github.com (github.com)… 192.30.253.112, 192.30.253.113

 

Connecting to github.com (github.com)|192.30.253.112|:443… connected.

 

HTTP request sent, awaiting response… 302 Found

 

Location: https://raw.githubusercontent.com/BVLC/caffe/master/examples/images/cat.jpg [following]

 

--2017-09-06 17:02:40-- https://raw.githubusercontent.com/BVLC/caffe/master/examples/images/cat.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: 140391 (137K) [image/jpeg]

 

Saving to: ‘../images/cat.jpg’

 

cat.jpg 100%[=============================>] 137,10K --.-KB/s in 0,03s

 

Last-modified header missing -- time-stamps turned off.

 

2017-09-06 17:02:40 (4,76 MB/s) - ‘../images/cat.jpg’ saved [140391/140391]

 

../../bin

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

[Error 9] Argument Error: Network weight cannot be found.

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

[Error 9] Argument Error: Network weight cannot be found.

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

nao@life-server:~/movidius/mvncsdk/ncapi$

0 Kudos
6 Replies
idata
Employee
712 Views

@tveltrop We are currently working with the owner of the files to find a solution. The missing files should only affect examples that are using the age and gender networks. The rest of the examples that aren't using age, gender or the mean.binaryproto should still be working fine and the rest of the SDK should remain functional.

0 Kudos
idata
Employee
712 Views

Sept 13: I'm getting the same 404 errors, any progress?

 

Thanks a lot.

 

Steve.
0 Kudos
idata
Employee
712 Views

Hi @sjm @tveltrop @Tome_at_Intel,

 

There is a workaround to the age/gender caffe file download issue. There are now new download links for the age/gender caffe files so to work around the issue its just a matter of modifying two scripts to use the new links rather than the old.

 

After decompressing the API and Toolkit tar files in the SDK download you will need to change 3 lines in the dlnets.sh file and 3 lines in get_models.sh file as shown below. After you make these changes continue with the installation as normal.

 

bin/data/dlnets.sh:

 

original: wget https://dl.dropboxusercontent.com/u/38822310/age_net.caffemodel -O age.caffemodel change to: wget https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel -O age.caffemodel original: wget https://dl.dropboxusercontent.com/u/38822310/gender_net.caffemodel -O gender.caffemodel change to: wget https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/gender_net.caffemodel -O gender.caffemodel original: wget https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto -O agegender_mean.binaryproto change to: wget https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/mean.binaryproto -O agegender_mean.binaryproto

 

ncapi/tools/get_models.sh:

 

original: wget -P ../networks/Gender/ -N https://dl.dropboxusercontent.com/u/38822310/gender_net.caffemodel change to: wget -P ../networks/Gender/ -N https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/gender_net.caffemodel original: wget -P ../networks/Age/ -N https://dl.dropboxusercontent.com/u/38822310/age_net.caffemodel change to: wget -P ../networks/Age/ -N https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel original: wget -P ../mean/age_gender/ -N https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto change to: wget -P ../mean/age_gender/ -N https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/mean.binaryproto
0 Kudos
idata
Employee
712 Views

Thank you for the update!

0 Kudos
idata
Employee
712 Views

Yep, that's nailed it. Thanks a lot.

0 Kudos
idata
Employee
712 Views

For anyone that is still having this issue there is a new installer with the age and gender download links fixed. it is version 1.7.10 and you can get it at the link below.

 

Note this build is functionally the same as 1.07.07. Only the age and gender download links have be changed.

 

https://ncsforum.movidius.com/discussion/239/movidius-nc-sdk-1-07-10-hot-fix-for-age-and-gender-network-downloads

0 Kudos
Reply