🌟 Summary
YOLO 8.4.228 raises the default detection limit for prediction and export, and returns full-size segmentation masks by default. It also brings inference speedups, clearer setup errors, and new aerial-traffic datasets.
📊 Key Changes
- More detections by default: Prediction, tracking, Solutions, auto-annotation, and most exports now allow up to 1,000 detections per image, up from 300. Sony IMX500 exports are capped at 500. Validation remains at 300 by default and can raise that limit for dense datasets when you leave it unset. Values you explicitly provide are now respected.
- Original-size masks by default:
retina_masks=Truemeans segmentation masks inmasks.datamatch the original image dimensions. Set it toFalseto use inference-size masks and reduce memory use. - Faster image and tiled prediction: Image preparation and high-resolution tiled inference were optimized, including avoiding unnecessary copies and processing some work on the device. These changes can improve throughput, particularly for tiled or dense-image workloads.
- More efficient SAM auto-segmentation: Candidate masks are filtered before resizing, avoiding resize work for masks that will be discarded.
- Clearer troubleshooting: Common mistakes—such as missing dataset paths or labels, invalid video-page URLs, and unfilled notebook placeholders—now get more actionable error messages.
- New Songdo Vision datasets: Detection and oriented-box versions add 5,419 high-resolution drone images with 274,190 vehicle annotations across four classes. The datasets are downloadable for training, but require roughly 16 GB each.
- Platform documentation updates: Guides now describe CVAT Online imports, updated prediction limits, and optional dataset-version saving before batch annotation.
🎯 Purpose & Impact
- Dense scenes can retain more objects instead of being cut off at the previous 300-detection limit.
- Full-size masks are more convenient for precise image-level work, though they can use more memory; choose inference-size masks when memory is a concern.
- Exported model outputs may now have a larger detection dimension by default. If your deployment code assumes a fixed output size, check it after exporting; re-export with a specified
max_detif you need a particular limit. - No model architecture change is highlighted in this release; the main impact is in inference defaults, performance, usability, and dataset support.
What's Changed
- Clearer errors for the most common dataset, device and source mistakes by @glenn-jocher in #27549
- Docs: CVAT Online import, 300/min predict limit, Usage tab and Ultralytics VLM1 FAQs by @pderrenger in #27551
- Docs: CVAT import task and keypoint rules, VLM1 default scope, team Usage grouping by @UltralyticsAssistant in #27552
- Document opt-in version capture for batch annotation by @glenn-jocher in #27557
- Refresh Platform documentation screenshots with Construction PPE by @glenn-jocher in #27558
- Add Songdo Vision datasets for vehicle detection and oriented bounding boxes by @rfonod in #27554
- Reduce mask resizing during SAM automatic segmentation by @Vaishnavi220506 in #27556
- Speed up image preparation for YOLO training and validation by @Keval-P in #27555
- Show Platform dataset cards on both Songdo Vision guides by @glenn-jocher in #27560
- Speed up tiled YOLO prediction while preserving detection order by @fcakyon in #27559
- Restore the tiled prediction and image formatting speedups from #27559 and #27555 by @glenn-jocher in #27562
- Describe Platform onboarding's single screen in the quickstart by @glenn-jocher in #27563
ultralytics 8.4.228Predict up to 1,000 detections per image and return original-size masks by default by @glenn-jocher in #27217
New Contributors
Full Changelog: v8.4.227...v8.4.228