Skip to content

OpenCV 4.1.2 cv2.dnn.DNN_BACKEND_INFERENCE_ENGINE cv2.dnn.DNN_TARGET_OPENCL #16043

@heiheiya

Description

@heiheiya
System information (version)
  • OpenCV => 4.1.2
  • Operating System / Platform => Windows 64 Bit
  • Compiler => Visual Studio 2015
Detailed description

I compiled OpenCV4.1.2 from source , add OpenVINO R3 support and banding to python3.6.4.
When i use net.setPreferableBackend(cv2.dnn.DNN_BACKEND_INFERENCE_ENGINE)
net.setPreferableTarget(cv2.dnn.DNN_TARGET_OPENCL) to load darknet yolov3.weights, it comes to failed with log:
cv2.error: OpenCV(4.1.2) D:\software\opencv-4.1.2\modules\dnn\src\op_inf_engine.cpp:704: error: (-215:Assertion failed) Failed to initialize Inference Engine backend: Unsupported primitive of type: OpenCVLayer name: yolo_106 in function 'cv::dnn::InfEngineBackendNet::initPlugin'

Can anyone help me?

Steps to reproduce

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions