New Release: Ultralytics v8.4.228

:rocket: Ultralytics v8.4.228: More detections, full-size masks, and faster tiled inference

Ultralytics YOLO now keeps up to 1,000 detections per image by default in prediction, returns original-size segmentation masks, and speeds up high-resolution tiled inference. This release also adds two Songdo Vision aerial-traffic datasets and makes common setup errors easier to troubleshoot.

:bullseye: New defaults for detection and segmentation

  • Keep more objects in dense scenes. The default max_det rises from 300 to 1,000 for prediction, tracking, Solutions, auto-annotation, and most exports. Sony IMX500 exports are capped at 500. Validation still defaults to 300 but can raise the limit for dense datasets when you leave it unset. Explicit max_det values are respected, subject to export limits.
  • Get masks at the original image size. With retina_masks=True by default, masks.data matches the original image dimensions. Set retina_masks=False to use inference-size masks and reduce memory use.

If your deployment assumes a fixed detection dimension, check the output shape after exporting and set max_det explicitly if needed. See the prediction and export defaults PR #27217 by @glenn-jocher for the implementation details.

:satellite: New datasets: Songdo Vision

The detection and oriented bounding box versions of Songdo Vision provide 5,419 high-resolution drone images and 274,190 vehicle annotations across four classes. Both are downloadable for training, so plan for roughly 16 GB per version.

:high_voltage: Performance and troubleshooting

:books: Ultralytics Platform documentation

:speech_balloon: Try v8.4.228 and tell us what you think

pip install ultralytics==8.4.228

Check the v8.4.228 release on GitHub for release details, or browse the full changelog from v8.4.227 to v8.4.228 to see every change.

Try it on a crowded scene or a high-resolution image and let us know what you notice. Did the higher detection limit retain objects you were missing? Did tiled prediction get faster on your hardware? Share your results or questions below!