pypi ultralytics 8.4.170
v8.4.170 - ultralytics 8.4.170 Revert disk cache naming from #26457 (#26460)

2 hours ago

🌟 Summary

Ultralytics 8.4.170 restores the established disk-cache naming, so existing caches are reused instead of rebuilt. It also documents video frame skipping for Platform inference.

πŸ“Š Key Changes

  • πŸ’Ύ Reverted the disk-cache filename change: Detection and classification datasets again save cache files as image.npy, rather than image.jpg.npy.
  • πŸŽ₯ Documented vid_stride for Platform inference: The parameter controls how often video frames are processed; its default of 1 processes every frame, and images are unaffected.
  • πŸ“– Updated video-response docs: They now clarify that results are returned for each processed frame.

🎯 Purpose & Impact

  • βœ… Users with existing cache=disk datasets can reuse their original cache files without rebuilding a second copy, saving time and disk space.
  • ⚠️ This restores compatibility but gives up the previous change’s handling of same-named images with different extensions in one folder. For detection datasets, those images also share a label file, limiting the practical benefit of separate cache names.
  • πŸš€ Platform users can use vid_stride to process fewer video frames when the API supports it, potentially reducing inference work. No model architecture changes are included.

What's Changed

Full Changelog: v8.4.169...v8.4.170

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.