Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
29 Views

Python CreateMKLDNNExtension locate error in Windows10

Jump to solution

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

Accepted Solutions
Highlighted
29 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
Highlighted
30 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
Highlighted
29 Views

Thanks Severine for help, it works!

0 Kudos