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.
6405 Discussions

Caffe Import Error with fresh installed SDK (help) - NCSDK 1.09.00.04 - x86_64 - Ubuntu 16.04

idata
Employee
1,827 Views
"make examples" gives import errors with Caffe models while Tensorflow import works. Error Message mvNCCompile -w bvlc_googlenet.caffemodel -s 12 deploy.prototxt mvNCCompile v02.00, Copyright @ Movidius Ltd 2016 Caffe Import Error Configuration ----- NCSDK 1.09.00.04 Cloned ncsdk github from master commit 163be9b462411802fba2ea7be4e18759a7dd6c11 (grafted, HEAD -> master, origin/master, origin/HEAD) Author: Neal Smith <neal.p.smith@intel.com> Date: Tue Oct 24 10:16:04 2017 -0700 ----- Running Linux 16.04 on x86_64 Caffe automatically installed in /opt/movidius is branch fathom_branch commit eeebdab16155d34ff8f5f42137da7df4d1c7eab0
0 Kudos
24 Replies
idata
Employee
213 Views

Hi,

 

Had the same Import Caffe error while make examples on Raspberry Pi3 with already existing OpenCV and Python 2/3

 

I managed to solve the problem by force re-installing the python decorator:

 

sudo apt-get install --reinstall python*-decorator

 

After it the make examples command work flawlessly!

0 Kudos
idata
Employee
213 Views

Hi,

 

For posterity, I am seeing the same mvnc, graph, caffe issue on a fresh ubuntu 16.04 install. It appears to fail when using virtualenvs and work fine when not. I don't have a solution however will post back here if I look into it and find one or will check back if someone else has. Thanks.

0 Kudos
idata
Employee
213 Views

To add to feedback's comment: On a Raspi 3 B+ installing Rasbian from NOOBS, I found

 

sudo apt-get install --reinstall python3*-decorator

 

did correct the problem.
0 Kudos
idata
Employee
213 Views

@braca @ashutosh hello! I get the same error with you when I first ran "make examples" after the ncsdk install, and I can't figure it out. Can you tell me how did you figure it?I would appreciate any help in resolving this error.

 

Caffe Import Error

 

make[4]: Leaving directory '/home/luis/workspace/ncsdk/examples/caffe/GoogLeNet'

 

cp: cannot stat '../../caffe/GoogLeNet/graph': No such file or directory

 

Makefile:9: recipe for target 'googlenet' failed

 

make[3]: *** [googlenet] Error 1

 

make[3]: Leaving directory '/home/luis/workspace/ncsdk/examples/apps/multistick_cpp'

 

Makefile:12: recipe for target 'multistick_cpp/.' failed

 

make[2]: *** [multistick_cpp/.] Error 2

 

make[2]: Leaving directory '/home/luis/workspace/ncsdk/examples/apps'

 

Makefile:12: recipe for target 'apps/.' failed

 

make[1]: *** [apps/.] Error 2

 

make[1]: Leaving directory '/home/luis/workspace/ncsdk/examples'

 

Makefile:51: recipe for target 'examples' failed

 

make: *** [examples] Error 2
0 Kudos
Reply