Verify Ultralytics Installation
Run a quick training on a toy dataset to confirm that the Ultralytics YOLO toolkit is installed correctly.
Before starting a long training job, it’s a good idea to test your Ultralytics installation by training on a small dataset. This confirms that the CLI works and that all dependencies are installed.
bash
# Train on the tiny COCO8 dataset for one epoch
yolo detect train model=yolo11n.pt data=coco8.yaml epochs=1 imgsz=640