-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
OpenCV with OpenVINO - dual MYRIAD mPCIe #17727
Description
System information (version)
- OpenCV => 4.3.0-openvino
- Operating System / Platform => ubuntu 18.04
- Compiler => python 3.6.9
Detailed description
When I try to run my model using cv2.dnn.DNN_TARGET_MYRIAD while having the intel neural compute stick 2 (NCS2) connected, everything runs completely fine. However, when I insert the mPCIe 'vega-330' which has two Movidius MYRIAD cores, I get the following error.
cv2.error: OpenCV(4.3.0-openvino) ../opencv/modules/dnn/src/ie_ngraph.cpp:600: error: (-2:Unspecified error) Failed to initialize Inference Engine backend (device = MYRIAD): Can not init Myriad device: NC_ERROR in function 'initPlugin'
When I use the demo files in the openvino directory '/opt/intel/openvino/deployment_tools/demo/', both the NCS2 and the mPCIe work though sometimes I face some issues with the mPCIe
The option used to run the demo using the mPCIe is -d HDDL while the option used to run it on the NCS2 is -d MYRIAD
In opencv, there is only the option cv2.dnn.DNN_TARGET_MYRIAD.
My question is: How do I run my opencv model (python) on the mPCIe?