The YOLO Running Tool is a Windows batch script that automates running YOLO object detection models. It manages model selection, environment activation, and runs detection on images or videos.
- Windows 10 or later.
- Python environment with necessary YOLO dependencies installed.
- Pre-trained YOLO models available.
- Running YOLO models for object detection on images or videos.
- Managing model selection and configuration.
- Providing easy-to-use menu-driven commands.
The program will start with a menu like this:
Enter YOLO version number: 8It will then activate or create the conda environment and install dependencies, showing messages like:
Anaconda detected!
Creating conda environment yolov8 ...
Installing ultralytics, supervision, roboflow...
Installing PyTorch...
True NVIDIA GeForce RTX 4090Next, it prompts for the Roboflow dataset link:
Paste your Roboflow dataset download link:If you enter a link, it downloads the dataset:
Downloading dataset from Roboflow...
Then it prompts for epochs:
Enter number of epochs to train (e.g. 50): 50It creates the training script and asks for confirmation:
[1] Start YOLO training
[2] Back to YOLO runner
[3] Return to Main Menu
[4] Exit
Choose an option (1-4):
If you start training, it runs Python and shows training progress:
Starting YOLO training...
Epoch 1/50 - loss: 2.1
...
Training complete! Check the 'runs/detect' folder for results.
The program stays open for further commands until you choose to exit.
- Ensure Python and required packages are installed and accessible in your PATH.
- Configure model paths and parameters as needed.