It looks like you're new here. If you want to get involved, click one of these buttons!Sign In
It looks like you're new here. If you want to get involved, click one of these buttons!
I'm working on implementing inference codes of two models which are optimized by OpenVINO with one neural compute stick2.
I wrote some codes referring python sample codes which are provided with OpenVINO. The directory is like this /intel/openvino/inference_engine/samples/python_samples
1 detector_bin = os.path.splitext(detector_path) + ".bin"
2 plugin_detector = IEPlugin(device="MYRIAD")
3 net_detector = IENetwork(model=detector_path, weights=detector_bin)
4 self.detector = plugin_detector.load(network=net_detector)
6 skeleton_bin = os.path.splitext(skeleton_path) + ".bin"
7 plugin_skeleton = IEPlugin(device="MYRIAD")
8 net_skeleton = IENetwork(model=skeleton_path, weights=skeleton_bin)
9 self.skeleton = plugin_skeleton.load(network=net_skeleton)
self.skeleton = plugin_skeleton.load(network=net_skeleton)
File "ie_api.pyx", line 395, in openvino.inference_engine.ie_api.IEPlugin.load
File "ie_api.pyx", line 406, in openvino.inference_engine.ie_api.IEPlugin.load
RuntimeError: Can not init USB device: NC_ERROR
In the first part 1~4 where the first model is being mounted, there is no problem.
But in the second part 6~9 where the second model is being mounted, it causes an error.
Is there any way to mount two models at the same time in a neural compute stick2 ???
I googled it and I found this discussion. https://ncsforum.movidius.com/discussion/795/can-i-run-more-than-one-models-with-one-stick
In that discussion, Tome_at_Intel gave a link. https://github.com/movidius/ncappzoo/blob/ncsdk2/apps/birds/birds.py
But I am familiar with OpenVINO. Isn't there a sample code for using two models in a neural compute stick2 with OpenVINO??
Thank you for reading my questions!