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.

image-classifier error on Pi

idata
Employee
868 Views

Have followed https://movidius.github.io/blog/ncs-image-classifier/ but at the step to make run I receive the error below, which appears to be related to incorrect caffe install?:

 

pi@raspberrypi:~/workspace/ncappzoo/apps $ cd image-classifier/

 

pi@raspberrypi:~/workspace/ncappzoo/apps/image-classifier $ make run

 

\making ilsvrc12

 

(cd ../../data/ilsvrc12; make;)

 

make[1]: Entering directory '/home/pi/workspace/ncappzoo/data/ilsvrc12'

 

make[1]: Leaving directory '/home/pi/workspace/ncappzoo/data/ilsvrc12'

 

making gendernet

 

(cd ../../caffe/GenderNet; make compile;)

 

make[1]: Entering directory '/home/pi/workspace/ncappzoo/caffe/GenderNet'

 

make[2]: Entering directory '/home/pi/workspace/ncappzoo/data/age_gender'

 

--2017-12-04 07:23:33-- https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/mean.binaryproto

 

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/GilLevi/AgeGenderDeepLearning/master/models/mean.binaryproto [following]

 

--2017-12-04 07:23:34-- https://raw.githubusercontent.com/GilLevi/AgeGenderDeepLearning/master/models/mean.binaryproto

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.16.133

 

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

 

HTTP request sent, awaiting response… 200 OK

 

Length: 786446 (768K) [application/octet-stream]

 

Saving to: ‘./mean.binaryproto’

 

mean.binaryproto 100%[===================>] 768.01K 415KB/s in 1.9s

 

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

 

2017-12-04 07:23:37 (415 KB/s) - ‘./mean.binaryproto’ saved [786446/786446]

 

Traceback (most recent call last):

 

File "convert_mean.py", line 3, in

 

import caffe

 

File "/opt/movidius/caffe/python/caffe/init.py", line 1, in

 

from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer

 

File "/opt/movidius/caffe/python/caffe/pycaffe.py", line 13, in

 

from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

 

ImportError: No module named 'caffe._caffe'

 

Makefile:5: recipe for target 'all' failed

 

make[2]: *** [all] Error 1

 

make[2]: Leaving directory '/home/pi/workspace/ncappzoo/data/age_gender'

 

Makefile:17: recipe for target 'prereqs' failed

 

make[1]: *** [prereqs] Error 2

 

make[1]: Leaving directory '/home/pi/workspace/ncappzoo/caffe/GenderNet'

 

Makefile:11: recipe for target 'gendernet' failed

 

make: *** [gendernet] Error 2
0 Kudos
3 Replies
idata
Employee
589 Views

Hellow?

0 Kudos
idata
Employee
589 Views

@robmarkcole In order to help troubleshoot your issue, I'd like to ask which version of the SDK are you using.

0 Kudos
idata
Employee
589 Views

Hi @Tome_at_Intel I'm on v1.11.00.04 on a pi3 with Stretch release 9.3.

 

Cheers
0 Kudos
Reply