ultralytics / ultralytics

Ultralytics YOLO11 🚀
https://docs.ultralytics.com
GNU Affero General Public License v3.0
33.09k stars 6.37k forks source link

how to set val batchsize=1 when training with yolov8 to detect? #16095

Open KungFuPandaPro opened 2 months ago

KungFuPandaPro commented 2 months ago

Search before asking

Question

how to set val batchsize=1 when training with yolov8 to detect?

Additional

No response

glenn-jocher commented 2 months ago

@KungFuPandaPro to set the validation batch size to 1 during training with YOLOv8, use the argument val_batch=1 in your training command.