Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ramirez__David
Beginner
128 Views

NCS2 Restart

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
128 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

Ramirez__David
Beginner
128 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