I'm trying to run the object_detection_demo_ssd_async example in python. I tried with python 2.7 and with Python 3.6 ( with the fix provided by alexey ), but I'm always getting this error
Initializing plugin for CPU device...
Loading IR to the plugin...
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 66, in main
exec_net = plugin.load(network=net, num_requests=2)
File "ie_api.pyx", line 169, in inference_engine.ie_api.IEPlugin.load
File "ie_api.pyx", line 181, in inference_engine.ie_api.IEPlugin.load
RuntimeError: Unsupported primitive of type: DetectionOutput name: detection_out
The environment seems to be setup correctly
PS C:\Intel\computer_vision_sdk_2018.2.299\deployment_tools\inference_engine\samples\python_samples> python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Could you help me with this ?
Hi, detection output is an extension layer. You have to provide path to the compiled cpu extension library (via "--cpu_extension" command line option.), which you can find in samples directory.
I got another error "RuntimeError: GetProcAddress cannot locate method 'CreateMKLDNNExtension': 127" when run OpenVINO python sample in Win10. Thanks,