pypi ultralytics 8.4.52
v8.4.52 - `ultralytics 8.4.52` YOLO Semantic Segmentation models (#24518)

4 hours ago

๐ŸŒŸ Summary

๐Ÿš€ Ultralytics 8.4.52 is a major release centered on adding full YOLO26 semantic segmentation support, plus several reliability, export, visualization, and documentation improvements.

๐Ÿ“Š Key Changes

  • ๐Ÿ†• New semantic task added across Ultralytics

    • YOLO now supports semantic segmentation as a first-class task alongside detection, instance segmentation, classification, pose, and OBB.
    • This includes support in the CLI, Python API, training, validation, prediction, export, docs, and benchmarks.
  • ๐Ÿง  New YOLO26 semantic segmentation models

    • Added new pretrained model variants with the -sem suffix, such as:
      • yolo26n-sem.pt
      • yolo26s-sem.pt
      • yolo26m-sem.pt
      • yolo26l-sem.pt
      • yolo26x-sem.pt
    • These models are designed for pixel-level scene understanding, where every pixel is assigned a class.
  • ๐Ÿ—๏ธ Complete semantic segmentation pipeline introduced

    • Added dedicated components for:
      • SemanticSegmentationModel
      • SemanticSegmentationTrainer
      • SemanticSegmentationValidator
      • SemanticSegmentationPredictor
    • This makes semantic segmentation feel like a native YOLO workflow rather than an add-on.
  • ๐Ÿ–ผ๏ธ Semantic masks now appear directly in inference results

    • Added a new SemanticMask result type.
    • Users can now access semantic predictions cleanly in outputs and visualizations.
  • ๐Ÿ“ฆ Built-in semantic segmentation datasets added

    • Added dataset configs and docs for:
      • Cityscapes
      • Cityscapes8 for quick testing
      • ADE20K
    • Also added support for PNG mask datasets and even polygon-based semantic training from existing segmentation labels.
  • ๐Ÿ” Augmentation pipeline upgraded for semantic masks

    • Mosaic, MixUp, CutMix, flipping, perspective transforms, and letterboxing now properly support semantic segmentation masks.
    • This is important for training quality and consistency.
  • ๐Ÿ“ค Export and deployment support extended

    • Semantic segmentation models now work with export flows and benchmark coverage.
    • Special handling was added for semantic outputs in TensorFlow and multiple export backends.
    • nms=True is automatically disabled for semantic models, since it does not apply to this task.
  • ๐Ÿงช Much broader testing coverage

    • Added engine, Python, export, benchmark, and dataset tests for the new semantic task.
    • Raspberry Pi skips were added where semantic tests may exceed memory limits.
  • ๐Ÿ› ๏ธ Other notable fixes in this release

    • FP16/BF16 FLOPs calculation fixed so half-precision models no longer incorrectly report 0.0 GFLOPs. ๐Ÿ“
    • Final evaluation logging fixed so best metrics no longer overwrite the last epoch in TensorBoard/MLflow. ๐Ÿ“ˆ
    • Validation visualizations now respect show_labels and show_conf, making crowded scenes easier to inspect. ๐Ÿ‘€
    • Dependency handling improved for TensorFlow, Ray Tune, and IMX export by tightening protobuf-related constraints. ๐Ÿ“ฆ

๐ŸŽฏ Purpose & Impact

  • ๐ŸŽฏ Biggest impact: YOLO26 can now do semantic segmentation natively

    • This opens YOLO to use cases like:
      • autonomous driving
      • road scene understanding
      • medical image parsing
      • land-cover mapping
      • general scene labeling
  • โšก Easier adoption for existing YOLO users

    • The new task fits into the same familiar YOLO workflow, so users can train and run semantic models with similar commands and APIs they already know.
  • ๐Ÿงฉ Broader dataset compatibility

    • Support for both mask-based datasets and polygon labels lowers the barrier to using existing annotations for semantic segmentation projects.
  • ๐Ÿ“‰ More reliable metrics and logging

    • FLOPs reporting is now more accurate for reduced-precision models.
    • Training logs are cleaner and less confusing for experiment tracking tools.
  • ๐Ÿ” Better debugging and visualization

    • Cleaner validation plots and native semantic result handling make it easier to inspect predictions and analyze model behavior.
  • ๐Ÿš€ Stronger deployment readiness

    • Export, benchmark, and backend updates mean semantic models are not just trainable, but also more practical to validate and deploy.
  • ๐Ÿ“š Improved docs and setup guidance

    • New semantic segmentation docs, datasets, CLI references, and install notes make the feature much easier to discover and use.

In short, v8.4.52 is a feature-heavy release led by the launch of YOLO26 semantic segmentation ๐ŸŽ‰. For many users, this is the headline change and a meaningful expansion of what Ultralytics can now handle out of the box.

What's Changed

New Contributors

Full Changelog: v8.4.51...v8.4.52

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.