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
I have searched the YOLOv8 issues and discussions and found no similar questions.
Question
When run as exe file it create unlimited train section till ram is full.
Full video description about this : [https://drive.google.com/file/d/1639oRAFH8MveZy9p-IygH5DRgpCyGK-G/view?usp=sharing]
But when run in debug mode it works OK
Here is my code
`
from ultralytics import YOLO
import configparser
from os import path, getcwd
import cv2 as cv
👋 Hello @nghiakthp2401, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.
Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users.
YOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
It sounds like you're observing a different behavior between your debug and executable versions, which is not entirely uncommon when using tools like Auto-py-to-exe. A few quick tips that might help:
Ensure all file paths are correctly handled in the executable. Paths managed differently could cause loops if the program continually looks for a file not found in its path.
Check if the environment configurations are consistent between your debug and production setups.
Consider catching and logging detailed errors or exceptions that may only occur in the executable environment. This will help explore whether specific parts of the code cause the loop.
If you still run into issues, feel free to share a snippet where you set up your execution loop or manage configurations, and we might spot something specific that's going off-track!
Search before asking
Question
When run as exe file it create unlimited train section till ram is full.
Full video description about this : [https://drive.google.com/file/d/1639oRAFH8MveZy9p-IygH5DRgpCyGK-G/view?usp=sharing]
But when run in debug mode it works OK
Here is my code
`
from ultralytics import YOLO
import configparser
from os import path, getcwd
import cv2 as cv
def ModifyDataYamlFile(filePath, UseTrainAsVal):
if name == 'main':
`
Additional
No response
The text was updated successfully, but these errors were encountered: