Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tenn__Hian-Kun
Beginner
197 Views

Error when running hello_query_device.py

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
197 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

 

 

la__xl
Beginner
197 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!

 

Shubha_R_Intel
Employee
197 Views

Dear la, xl and everyone,

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

Shubha

 

Reply