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.

Python openvino IECORE()

KIM__SangMo
Beginner
1,942 Views

Hi,

I am using python to test the inference engine.
When I 'run module' , the program will stop at " ie = IECORE()", but no error information is given. 
I added some "print" funtions and they can only work before this line.
Below is the program code.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import sys

from openvino.inference_engine import IECore
print("before IECore():")
ie = IECore()
print("Available devices:")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1."w_openvino_toolkit_p_2019.3.379.exe" install
2.Microsoft Windows 10 Enterprise (64bit)
   Intel® Core™ i5-8250U CPU @ 1.60GHz
   Intel® UHD Graphics 620 

I'm really confused. Thank you for any help.

0 Kudos
1 Reply
JesusE_Intel
Moderator
1,942 Views

Hi SangMo,

I just ran a quick test with the following python code and did not see any issues.

import sys
from openvino.inference_engine import IECore

ie=IECore()
print("End of test")

Are you running the setupvars.bat script prior to running the python script?

"C:\Program Files (x86)\IntelSWTools\openvino\bin\setupvars.bat"

Also, could you share the software version of the following components?

  • CMake
  • Python
  • Visual Studio

Regards,

Jesus

0 Kudos
Reply