π 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 thanimage.jpg.npy. - π₯ Documented
vid_stridefor Platform inference: The parameter controls how often video frames are processed; its default of1processes 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=diskdatasets 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_strideto process fewer video frames when the API supports it, potentially reducing inference work. No model architecture changes are included.
What's Changed
- Avoid disk cache collisions for same-stem images by @aswanth-07 in #26457
- Document vid_stride for Platform predict by @glenn-jocher in #26458
- ultralytics 8.4.170 Revert disk cache naming from #26457 by @glenn-jocher in #26460
Full Changelog: v8.4.169...v8.4.170