pypi ultralytics 8.4.215
v8.4.215 - `ultralytics 8.4.215` Plot, convert and prompt segmentation masks without the dense mask stack (#27216)

38 minutes ago

🌟 Summary

YOLO 8.4.215 improves segmentation memory efficiency and fixes several data, tracking, and reliability issuesβ€”without changing model architectures or default prediction settings.

πŸ“Š Key Changes

  • 🧠 Lower-memory segmentation workflows (main release change): Plotting, saving, displaying, moving, and prompting segmentation masks can now work with masks stored inside their bounding boxes instead of building a full image-sized mask stack. Outputs and defaults remain unchanged; requesting masks.data still creates the dense masks.
  • 🏷️ More reliable automatic annotations: Class labels stay matched to their detections when SAM filters out some masks.
  • πŸŽ₯ More complete video predictions: Video loading now reads frames until decoding ends, rather than stopping at a possibly inaccurate frame count in the file metadata.
  • 🧭 More dependable tracking fallback: If ECC camera-motion estimation fails, the tracker now retains the identity transform instead of potentially using a partially modified estimate.
  • πŸ“Œ Accurate checkpoint provenance: Checkpoints record the Git commit present when the run starts, even if the checkout changes later.
  • 🧠 Updated Brain Tumor dataset: Now contains 1,115 brain MRI images, one tumor class, and a patient-based validation split. Documentation clarifies that it is for research and education, not clinical diagnosis.
  • πŸ› οΈ Improved CI resilience and documentation: CI retries a failed asset-cache restore once, and several documentation page titles are clearer and more distinct.

🎯 Purpose & Impact

  • πŸš€ Segmentation workflows can avoid the memory and processing cost of a dense stack when they only need masks within detected boxes. This can help with larger images or many detections while preserving existing outputs.
  • βœ… Annotation, video, and tracking fixes reduce the chance of incorrect labels, silently skipped frames, or unreliable camera-motion compensation.
  • πŸ” Checkpoint metadata makes it easier to identify the exact code used for a training run.
  • πŸ“š The revised dataset split and guidance make the Brain Tumor dataset easier to use appropriately, while its limitations remain important: it has no tumor-free examples and is not suitable for clinical diagnosis.
  • πŸ”§ No new model architecture or change to prediction defaults is introduced in this release.

What's Changed

Full Changelog: v8.4.214...v8.4.215

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.