Upgrading torchvision 0.25 to 0.26
Breaking0.25.0 → 0.26.0Breaking3New2Changed1Fixed1
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- The video decoding and encoding utilities of TorchVision, which have been deprecate for a long time, are now removed.
- The rare torchvision utilities that were still relying on video decoding (like the video datasets) have been transparently migrated to TorchCodec.
- Note: the image decoders and encoders are staying in TorchVision.
Must act 3 items need code or config changes
Python requirement changed in 0.26.0: >=3.10 → !=3.14.1,>=3.10.
Installs 31 packages in all (was 30).
What you must change
Breaking3
The video decoding and encoding utilities of TorchVision, which have been deprecate for a long time, are now removed.
torchvision.io.video.*read_videowrite_videoVideoReaderThe rare torchvision utilities that were still relying on video decoding (like the video datasets) have been transparently migrated to TorchCodec.
Note: the image decoders and encoders are staying in TorchVision.