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.

make examples error for NCSDK2.04

idata
Employee
1,043 Views

Hello

 

I am running Ubuntu 16.04.4 (fresh installed). I downloaded NCSDK2.04 and did make install. That was built successfully. However when I did make examples it gives me the following error:

 

Traceback (most recent call last):

 

File "/usr/local/bin/mvNCProfile", line 155, in

 

profile_net(args.network, args.inputnode, args.outputnode, args.nshaves, args.inputsize, args.weights, args.device_no, args.explicit_concat, args.ma2480, args.scheduler, args)

 

File "/usr/local/bin/mvNCProfile", line 141, in profile_net

 

timings, myriad_output = run_myriad(graph_file, args)

 

File "/usr/local/bin/ncsdk/Controllers/MiscIO.py", line 96, in run_myriad

 

devices = mvncapi.enumerate_devices()

 

AttributeError: module 'mvnc.mvncapi' has no attribute 'enumerate_devices'

 

Makefile:64: recipe for target 'profile' failed

 

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

 

make[3]: Leaving directory '/home/baishali/ncsdk2_04/ncsdk/examples/caffe/AlexNet'

 

Makefile:12: recipe for target 'AlexNet' failed

 

make[2]: *** [AlexNet] Error 2

 

make[2]: Leaving directory '/home/baishali/ncsdk2_04/ncsdk/examples/caffe'

 

Makefile:13: recipe for target 'caffe/.' failed

 

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

 

make[1]: Leaving directory '/home/baishali/ncsdk2_04/ncsdk/examples'

 

Makefile:57: recipe for target 'examples' failed

 

make: *** [examples] Error 2

 

My system path for python is this:

 

 

 

 

sys.path

 

['', '/home/baishali', '/opt/movidius/caffe/python', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/baishali/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0']

 

 

 

 

Can somebody help me with this issue

0 Kudos
3 Replies
idata
Employee
752 Views

can you try with python3 ?

0 Kudos
idata
Employee
753 Views

Hi @baishali, can you give us some more information about your installation process? Did you previously have an older version of the NCSDK installed?

0 Kudos
idata
Employee
753 Views

mvnc.enumerate_devices - is used in ncssdk2

 

while mvnc.EnumerateDevices is used in ncssdk1 , error could be due to mismatch SDK and code.

 

check Path envrioment if both SDK is installed
0 Kudos
Reply