running my cv2 dnn model with cv2.dnn.DNN_TARGET_MYRIAD on MYRIAD cores

asked 2020-07-12 07:32:44 -0600

Omar-AE gravatar image
System information (version)
  • OpenCV => 4.3.0-openvino
  • Operating System / Platform => ubuntu 18.04
  • Compiler => python 3.6.9
Detailed description

I'm having the following error:

Traceback (most recent call last): File "main.py", line 59, in <module> safe_people_count, close_people_count = AnalysisObj.SDAProcess(img, threshold=0.3, nms_threshold=0.8, crop=args.crop) File "/home/nvr/microsoft/social_distancing_detection.py", line 53, in SDAProcess layerOutputs = self.net.forward(self.ln) cv2.error: OpenCV(4.3.0-openvino) /opt/intel/openvino_2020.3.194/opencv/modules/dnn/src/dnn.cpp:1138: error: (-213:The function/feature is not implemented) Unknown backend identifier in function 'wrapMat'

I'm using DNN_TARGET_MYRIAD and DNN_BACKEND_INFERENCE_ENGINE. The code works using cv2.dnn.DNN_TARGET_CPU but not MYRIAD Any idea what could be the issue?

To be mentioned that it worked a couple of days ago but not sure how this problem suddenly occurred!

edit retag flag offensive close merge delete

Comments

did you find any way to solve this problem?

ahmetanbar gravatar imageahmetanbar ( 2020-08-14 08:31:37 -0600 )edit

@ahmetanbar please do not post answers here, if you have a question or a comment, thank you.

(also posts like yours never work ....)

berak gravatar imageberak ( 2020-08-14 08:55:42 -0600 )edit