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.

NCS2 Restart

Ramirez__David
Beginner
528 Views

Hello,

I am working with openvino 2020.2.120, the NCS2 and python API, The program loop runs fine the first time however, each time I stop the program and start it again, I have to unplug and plug again the NCS2 because if I don't do that, it shows an error:

Can not init Myriad device: NC_ERROR

Is there a way to close or clear the device before exiting the program, or restarting it before the program executes again?

 

-David

0 Kudos
2 Replies
SIRIGIRI_V_Intel
Employee
528 Views

The issue seems to be the NCS2 is being used by the program. Can you try to run the object_detection_demo_ssd_async sample on the NCS2 and let us know the behavior.

Regards,

Ram prasad

0 Kudos
Ramirez__David
Beginner
528 Views

Thanks for the response

The issue seemed to be related to using jupyter notebooks: running, stopping and re-running a cell, caused the error; however, the same code in a .py file ran correctly when stopped and ran afain

0 Kudos
Reply