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.
Key Improvement: Reusable Training Settings
- Save NumPy learning rates correctly: In PR #26993, @Nikhi00718 ensures
np.float64values are written as ordinary numbers in YAML. Sweep-generated learning rates can now be saved inargs.yamland reloaded without becoming strings that fail validation.
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.4andultralytics-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.
Documentation Improvements
- Clearer output paths: In PR #26985, @Echoslayer documents that relative
projectpaths resolve underruns_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.
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.
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!