pypi ultralytics 8.4.37
v8.4.37 - `ultralytics 8.4.37` NDJSON-based multidataset hyperparameter tuning (#24192)

7 hours ago

๐ŸŒŸ Summary

Ultralytics v8.4.37 is a quality + workflow-focused release: the tag PR itself is a version bump, while the main substance is improved hyperparameter tuning (now NDJSON-based for multi-dataset runs), better handling of class imbalance, stronger training reliability, and clearer docs/UI guidance. ๐Ÿš€

๐Ÿ“Š Key Changes

  • (Priority note) Current PR #24192 by @glenn-jocher: release tag/version update only (8.4.36 โ†’ 8.4.37) ๐Ÿ“ฆ

    • No direct runtime/model logic change in this PR alone.
  • Major tuning upgrade (PR #24179 by @Laughing-q) ๐Ÿง 

    • Hyperparameter tuning logs moved from CSV to tune_results.ndjson.
    • Better support for multi-dataset tuning with per-dataset fitness tracking.
    • Plot/output naming updated (e.g., tune_fitness.png), and MongoDB sync now aligns with local NDJSON logs.
  • Class imbalance support in training (PR #23565 by @ahmet-f-gumustas) โš–๏ธ

    • Added new cls_pw hyperparameter to weight underrepresented classes more during detection training.
    • Default is off (0.0), so existing behavior stays unchanged unless enabled.
  • Training stability + robustness fixes ๐Ÿ›ก๏ธ

    • First-epoch checkpoint is now saved even if EMA has invalid values early on (PR #24170 by @Laughing-q).
    • Fixed local zip dataset regression in HUB/Platform training (safe_download path handling) (PR #24185 by @glenn-jocher).
  • Evaluation and CI reliability improvements โœ…

    • compute_ap precision edge-case fix for more robust AP calculation (PR #24175 by @Laughing-q).
    • CI/Docker benchmark threshold updates to reduce false failures.
  • Cleaner distributed training logs (PR #24177 by @Laughing-q) ๐Ÿงน

    • Reduced duplicate model info prints in DDP/multi-process training.
  • Documentation and platform UX improvements ๐Ÿ“š

    • Correct task-specific .load() weights in segment/OBB docs.
    • OpenVINO links updated for YOLO26 optimization notebooks.
    • Platform docs updated for new Settings > API Keys flow.
    • Quickstart diagram made interactive for easier navigation.

๐ŸŽฏ Purpose & Impact

  • For ML practitioners tuning across datasets: much better experiment tracking and analysis thanks to NDJSON + per-dataset records. ๐Ÿ“ˆ
  • For teams with imbalanced data: cls_pw can improve rare-class learning without changing your whole pipeline. ๐ŸŽฏ
  • For production/research training: fewer broken runs and better checkpoint safety in edge cases. ๐Ÿ”
  • For CI and benchmarking users: fewer flaky failures from minor threshold drift. ๐Ÿงช
  • For new users: clearer docs and safer examples reduce silent misconfigurations and confusion. ๐Ÿ™Œ

What's Changed

New Contributors

Full Changelog: v8.4.36...v8.4.37

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.