pypi ultralytics 8.4.190
v8.4.190 - `ultralytics 8.4.190` Mask-IoU-aware label assignment for YOLO26-seg (#26773)

4 hours ago

🌟 Summary

YOLO 8.4.190 improves YOLO26 segmentation training by making label assignment consider mask quality as well as box overlap, alongside fixes for model export, inference, training utilities, and data handling.

πŸ“Š Key Changes

  • 🎭 YOLO26-seg mask-aware training: Positive training matches now account for both box and mask overlap. The implementation limits mask decoding and uses safer precision to control memory use and avoid numerical overflow. Other segmentation models and inference/export behavior are unchanged.
  • πŸ“± More reliable CoreML support: Fixes address duplicate detections in segmentation exports, floating-point output crashes on MPS, and unnecessary NumPy downgrades during inference. Oriented-box NMS also receives a precision fix.
  • 🧠 RKNN depth INT8 export: Depth models can now be exported in INT8, with hybrid precision to keep error-prone layers in FP16. Calibration should use paired depth maps covering the deployment scene’s depth range.
  • ⚑ Inference and training improvements: OpenVINO CPU inference can load upcoming batches while the current batch runs. AutoBatch better accounts for GPU memory available to the process when selecting a batch size.
  • πŸ—‚οΈ Data and usability fixes: NDJSON conversion skips unlabeled classification images instead of treating them as class 0. FastSAM handles text prompts when no masks qualify, and region-drawing solutions accept floating-point coordinates.
  • πŸš€ Faster segmentation validation: COCO mask RLE encoding is vectorized, reducing encoding time in tested workloads.
  • πŸ“š Documentation and tooling: Platform docs clarify dataset and project cloning options, mobile export links, and annotation model comparisons. The CPU runner also includes English Tesseract data for scanned-PDF workflows.

🎯 Purpose & Impact

  • YOLO26 segmentation training can make assignments that better reflect mask quality, while keeping mask-specific work bounded in computation and memory.
  • Users exporting or running models on Apple and Rockchip hardware should encounter fewer precision-related issues and gain support for depth-model INT8 export on RKNN.
  • Better batch sizing and CPU prefetching may improve GPU utilization and OpenVINO CPU throughput, while the data and prompting fixes prevent common failures or misleading labels.

What's Changed

New Contributors

Full Changelog: v8.4.189...v8.4.190

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.