Yolov8 Pyinstaller exe file constantly reruns itself #4153
-
I converted a very simple application that I developed with Yolov8 to exe with pyinstaller. The script runs very well but when I run the exe file it constantly reruns itself. My codes are as follows: from ultralytics import YOLO
model = YOLO("best.pt")
results = model.track("./last.mp4", show=True) Pyinstaller command to convert it to exe file:
Additional note: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I discovered that the issue is related to the 'cpuinfo' module. I don't yet know the reason, but removing the relevant code from the Ultralytics codebase resolved the problem. |
Beta Was this translation helpful? Give feedback.
I discovered that the issue is related to the 'cpuinfo' module. I don't yet know the reason, but removing the relevant code from the Ultralytics codebase resolved the problem.