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.

Error when running hello_query_device.py

Tenn__Hian-Kun
Beginner
770 Views

Hi,

I've installed the OpenVINO R2 and started to try some the samples.

For the C++ version of "hello query device", everything was okay.

But when I tried to run the Python sample, it returned the following error message:

Traceback (most recent call last):
  File "hello_query_device.py", line 35, in <module>
    sys.exit(main() or 0)
  File "hello_query_device.py", line 30, in main
    cfg_val = ie.get_config(device, cfg)
  File "ie_api.pyx", line 124, in openvino.inference_engine.ie_api.IECore.get_config
TypeError: Failed to convert parameter to Python representation!

 

How could I fix it? 

0 Kudos
3 Replies
Shubha_R_Intel
Employee
770 Views

Dear Tenn, Hian-Kun,

You are correct. I reproduced the same bug on OpenVino 2019R2.

I will file a bug on your behalf. 

Sorry for the trouble !

Thanks,

Shubha

 

 

0 Kudos
la__xl
Beginner
770 Views

same error here.

raspberry pi 3b+

	Default values for device configuration keys:
Traceback (most recent call last):
  File "/home/pi/inference_engine_vpu_arm_242/inference_engine/samples/python_samples/hello_query_device/hello_query_device.py", line 35, in <module>
    sys.exit(main() or 0)
  File "/home/pi/inference_engine_vpu_arm_242/inference_engine/samples/python_samples/hello_query_device/hello_query_device.py", line 30, in main
    cfg_val = ie.get_config(device, cfg)
  File "ie_api.pyx", line 124, in openvino.inference_engine.ie_api.IECore.get_config
TypeError: Failed to convert parameter to Python representation!

 

0 Kudos
Shubha_R_Intel
Employee
770 Views

Dear la, xl and everyone,

Thank you for your patience ! I have filed this bug on your behalf.

Shubha

 

0 Kudos
Reply