You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using openvino from python on Windows, the program will start twice when running from the command prompt. The following code will reproduce the problem if copied into a file e.g. test_import.py and running as python test_import.py
print("--------------start--------------")
import openvino
print(openvino.__version__)
import time
for i in range(10):
print("sleep", i)
time.sleep(0.1)
print(" * finish")
The program will somehow call itself and re-start a new instance, which I believe may be caused by a circular import. I tested several other complex libraries, but found that openvino was the only one to exhibit this behavior.
OpenVINO Version
2024.6.0-17404-4c0f47d2335-releases/2024/6
Operating System
Windows System
Device used for inference
GPU
Framework
None
Model used
Yolox
Issue description
When using openvino from python on Windows, the program will start twice when running from the command prompt. The following code will reproduce the problem if copied into a file e.g. test_import.py and running as
python test_import.py
The program will somehow call itself and re-start a new instance, which I believe may be caused by a circular import. I tested several other complex libraries, but found that openvino was the only one to exhibit this behavior.
Step-by-step reproduction
No response
Relevant log output
Issue submission checklist
The text was updated successfully, but these errors were encountered: