pypi ultralytics 8.3.154
v8.3.154 - `ultralytics 8.3.154` Refactor `Validator` and `Metrics` classes (#21009)

latest releases: 8.3.193, 8.3.192, 8.3.191...
2 months ago

๐ŸŒŸ Summary

This release refactors and unifies the validation and metrics system across all YOLO tasks, making the codebase more modular, maintainable, and consistent. It also brings UI improvements, performance boosts, and enhanced user feedback across the Ultralytics ecosystem. ๐Ÿ› ๏ธโœจ


๐Ÿ“Š Key Changes

  • Major Validator & Metrics Refactor

    • Unified the metrics classes for detection, segmentation, pose, classification, and OBB tasks, reducing code duplication and making it easier to extend or maintain.
    • All validator classes now use a consistent, modular structure for processing predictions and ground truths.
    • Improved postprocessing and plotting logic for more reliable and clear results visualization.
  • Semantic Image Search UI Upgrade

    • Added "Top K" filter buttons (Top 5, Top 10, Top 30) and a search bar to the similarity search interface, making it easier to explore and compare results.
  • Performance & Stability Improvements

    • Optimized pose estimation in AI Gym by removing unnecessary .cpu() calls and adding caching for faster angle calculations.
    • Improved model image size handling for dynamic models, ensuring more reliable predictions.
    • Adjusted model fusion logic for better compatibility with NVIDIA JetPack and smoother PyTorch model loading.
  • User Experience Enhancements

    • Added clear log messages when YOLO settings are updated, showing exactly which settings changed.
    • Improved error handling and test reliability, especially for custom or in-memory models.
  • Bug Fixes

    • Fixed validation errors when training YOLOE-11-seg models.

๐ŸŽฏ Purpose & Impact

  • For Developers:

    • Easier to add new features or maintain the codebase thanks to unified and modular validation/metrics logic.
    • More robust and reliable testing and model deployment, especially on edge devices or with custom models.
  • For End Users:

    • Smoother, faster, and more accurate experience in pose estimation and fitness tracking solutions.
    • Enhanced transparency and feedback when updating settings or running experiments.
    • More intuitive and interactive image search in Ultralytics HUB, helping users quickly find the most relevant results.
  • For the Community:

    • Sets the stage for future improvements and new features across all YOLO tasks, ensuring consistency and quality in results and reporting.

In summary:
This update makes Ultralytics' YOLO models and tools more powerful, user-friendly, and future-proofโ€”whether you're building on the platform or using it for your projects! ๐Ÿš€

What's Changed

Full Changelog: v8.3.153...v8.3.154

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.