Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error when running Detection xample #23

Open
hanumanhojo opened this issue Jul 11, 2018 · 3 comments
Open

Getting Error when running Detection xample #23

hanumanhojo opened this issue Jul 11, 2018 · 3 comments

Comments

@hanumanhojo
Copy link

hanumanhojo commented Jul 11, 2018

Hi,
I running the original ncsdk on a PC with Ubuntu 16.04 as the OS. When I run the Detection Example, this is the error I'm getting:

developer@developer-desktop:~/Movidius/YoloV2NCS$ python3 ./detectionExample/Main.py --video 0
Traceback (most recent call last):
File "./detectionExample/Main.py", line 5, in
from ObjectWrapper import *
File "/home/developer/Movidius/YoloV2NCS/detectionExample/ObjectWrapper.py", line 17, in
class ObjectWrapper():
File "/home/developer/Movidius/YoloV2NCS/detectionExample/ObjectWrapper.py", line 18, in ObjectWrapper
mvnc.global_set_option(mvnc.GlobalOption.RW_LOG_LEVEL, 2)
AttributeError: module 'mvnc.mvncapi' has no attribute 'global_set_option'

@alekcastillo
Copy link
Contributor

You're using NCSDK 1. You must use NCSDK 2: https://github.com/movidius/ncsdk/tree/ncsdk2

@Anvesh-1
Copy link

Hi,
I am using the NCSDK2 provided by you in the comment above but i am still getting the same error,

Traceback (most recent call last):
File "./detectionExample/Main.py", line 5, in
from ObjectWrapper import *
File "/home/YoloV2NCS/detectionExample/ObjectWrapper.py", line 17, in
class ObjectWrapper():
File "/home/YoloV2NCS/detectionExample/ObjectWrapper.py", line 18, in ObjectWrapper
mvnc.global_set_option(mvnc.GlobalOption.RW_LOG_LEVEL, 2)
AttributeError: module 'mvnc.mvncapi' has no attribute 'global_set_option'

@PINTO0309
Copy link

PINTO0309 commented Jul 29, 2018

$ cd ncsdk
$ make uninstall

$ cd ~
$ git clone -b ncsdk2 http://github.com/Movidius/ncsdk
$ cd ncsdk
$ make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants