New Release: Ultralytics v8.4.198

:rocket: Ultralytics v8.4.198: More Reliable Training Configurations and YAML Handling

Ultralytics YOLO v8.4.198 improves configuration reuse, YAML parsing, downloads, and training reliability. This release also clarifies dataset errors and documentation—no model architecture or pretrained-weight changes are included, so no model migration is needed.

:glowing_star: Key Improvement: Reusable Training Settings

  • Save NumPy learning rates correctly: In PR #26993, @Nikhi00718 ensures np.float64 values are written as ordinary numbers in YAML. Sweep-generated learning rates can now be saved in args.yaml and reloaded without becoming strings that fail validation.

:hammer_and_wrench: Bug Fixes and Reliability Improvements

  • More robust YAML parsing: In PR #26987, @cainiao33 fixes block-scalar indentation, whitespace-only lines, and indentation for nodes written on their own lines.
  • YAML handling cleanup: In PR #26988, @glenn-jocher removes UTF-8 BOM handling.
  • Better downloads and dataset errors: In PR #26992, @glenn-jocher adds a descriptive Ultralytics User-Agent to download requests, helping avoid some server rejections. Missing classification datasets now produce a clear file-not-found error.
  • Updated dependency minimums: In PR #26991, @glenn-jocher raises the requirements to ultralytics-thop>=2.2.4 and ultralytics-platform>=0.1.102.
  • Quieter profiling: In PR #26989, @glenn-jocher suppresses the Triton 3.9 FP fusion default warning triggered by PyTorch 2.15 eager bmm.

:books: Documentation Improvements

  • Clearer output paths: In PR #26985, @Echoslayer documents that relative project paths resolve under runs_dir/<task>.
  • Consistent metric notation: In PR #26990, @glenn-jocher standardizes metric subscripts and superscripts across documentation and benchmark tables, making results easier to interpret and compare.

:high_voltage: Try v8.4.198

Install this release with:

pip install --upgrade ultralytics==8.4.198

Explore the v8.4.198 release notes for release details, or review the full changelog to see the complete changes.

:speech_balloon: Give it a try and share your feedback below! Let us know how configuration reuse, downloads, and dataset handling work in your workflows. Thanks to everyone who contributed!