Closed raymondlo84 closed 3 years ago
@helena-intel - also confirmed that this will also happen on Windows!
The neural stick will somehow got stuck. My initial guess is we did not release the resource properly after the execution... So if you restart the kernel it will work again (and by restarting the kernel you will hear the neural stick got connect and disconnected!).
https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/readme.html and I think we have to somehow setup this if people would like to try the neural stick with the notebooks...
input_fifo.destroy() output_fifo.destroy() graph.destroy() device.close() device.destroy()
del exec_net
Found it. This is the way to free up the neural stick - basically remove the exec_net once you are done with it, and it will free up the stick automatically!
So for the hello world tutorial, you can put the "del exec_net" after you are done with all the results.
The workaround is stated above, and we will make a separate notebook to capture the 'special use cases' next.
Somehow the NCS2 will automatically reset and after I ran the IE. I'm running this on Mac OSX. :\