pypi ultralytics 8.4.175
v8.4.175 - More reliable classification training and validation (#26597)

5 hours ago

๐ŸŒŸ Summary

v8.4.175 focuses on making training, validation, inference, and deployment more reliable across existing Ultralytics modelsโ€”without introducing a new model architecture. The headline fix prevents classification images from appearing in both training and validation splits after a split ratio changes.

๐Ÿ“Š Key Changes

  • ๐Ÿ—‚๏ธ Safer classification splits (current PR): When an image is reassigned after changing the train/validation ratio, its old split copy is removed. Nested class folders retain their paths, and cached data and split directories are preserved.
  • ๐Ÿง  More dependable model loading: Pretrained class names are transferred when appropriate, grayscale models make better use of RGB weights, and fine-tuning for fewer classes can retain more learned features. YAML-built pose models also receive the keypoint metadata they need for prediction.
  • ๐Ÿ“ˆ More complete and accurate validation: Compiled validation no longer skips the final partial batch. The release also fixes large semantic-segmentation pixel counts and makes pose evaluation ignore unlabeled COCO keypoints as expected.
  • ๐Ÿ–ผ๏ธ More robust image and stream handling: Fixes cover 16-bit image inputs, stale image caches, multi-page TIFFs, extensionless image URLs, and RTSP/RTMP/TCP sources that include video-like suffixes.
  • ๐Ÿ“ฆ Better export and runtime compatibility: Fixes address larger inference batches for exports with embedded NMS, empty-frame CoreML handling, dynamic YOLOE CoreML exports, and defaults for exported modelsโ€™ input sizes.
  • ๐ŸŽฅ Tracking and depth improvements: Tracker IDs are now isolated per tracker, and depth prediction uses the same image stretching approach as validation and calibration.
  • ๐Ÿ“š Documentation and tooling updates: Documentation clarifies Platform workflows, security and compliance, agent skills, depth calibration, and Hailo benchmarks. CI workflows also adopt shared uv setup and failure alerts, and the CUDA Docker image updates to PyTorch 2.14.1.

๐ŸŽฏ Purpose & Impact

  • Avoid split leakage: Classification images should no longer be evaluated on images that also appear in training after a ratio change, making validation results more trustworthy.
  • Reduce unexpected failures: Model loading, image inputs, exported-model inference, and multi-stream tracking should behave more consistently across common configurations.
  • Improve evaluation reliability: Keeping partial validation batches and handling edge cases correctly can prevent missing samples or misleading metrics.
  • Make workflows easier to follow: Expanded Platform and integration guidance helps users understand dataset management, calibration, security, and deployment options.

What's Changed

New Contributors

Full Changelog: v8.4.174...v8.4.175

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.