Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

Python CreateMKLDNNExtension locate error in Windows10

Wei-Han_C_Intel
Employee
543 Views

Hi,

I got the error "RuntimeError: GetProcAddress cannot locate method 'CreateMKLDNNExtension': 127"  when run OpenVINO python sample in Win10. Thanks,

> python object_detection_demo_ssd_async.py -m C:\Intel\computer_vision_sdk_2018.2.304\inference_engine\samples\python_samples\FP32\car.xml -i test1.mp4 --cpu_extension C:\Intel\computer_vision_sdk_2018.2.304\python\python3.6\openvino\inference_engine\ie_api.pyd

Initializing plugin for CPU device...

Traceback (most recent call last):

  File "object_detection_demo_ssd_async.py", line 162, in <module>

    sys.exit(main() or 0)

  File "object_detection_demo_ssd_async.py", line 57, in main

    plugin.add_cpu_extension(args.cpu_extension)

  File "ie_api.pyx", line 215, in inference_engine.ie_api.IEPlugin.add_cpu_extension

  File "ie_api.pyx", line 223, in inference_engine.ie_api.IEPlugin.add_cpu_extension

RuntimeError: GetProcAddress cannot locate method 'CreateMKLDNNExtension': 127

0 Kudos
1 Solution
Severine_H_Intel
Employee
543 Views

Hi Wei-Han C.,

the error comes from an incorrect use of the cpu_extension parameter. --cpu_extension is the path to the extension library (cpu_extension.dll) that you can find in the bin folder of the inference engine: deployment_tools\inference_engine\bin\intel64\Release (or Debug)

Best, 

Severine

 

View solution in original post

0 Kudos
2 Replies
Severine_H_Intel
Employee
544 Views

Hi Wei-Han C.,

the error comes from an incorrect use of the cpu_extension parameter. --cpu_extension is the path to the extension library (cpu_extension.dll) that you can find in the bin folder of the inference engine: deployment_tools\inference_engine\bin\intel64\Release (or Debug)

Best, 

Severine

 

0 Kudos
Wei-Han_C_Intel
Employee
543 Views

Thanks Severine for help, it works!

0 Kudos
Reply