Download Latest Version TorchVision 0.22.1 Release source code.tar.gz (13.3 MB)
Email in envelope

Get an email when there's a new version of torchvision

Home / v0.21.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-01-29 2.2 kB
Torchvision 0.21 release source code.tar.gz 2025-01-29 13.2 MB
Torchvision 0.21 release source code.zip 2025-01-29 13.6 MB
Totals: 3 Items   26.7 MB 0

Highlights

Detailed changes

Image decoding

Torchvision continues to improve its image decoding capabilities. For this version, we added support for HEIC and AVIF image formats. Things are a bit different this time: to enable it, you'll need to pip install torchvision-extra-decoders, and the decoders are available in torchvision as torchvision.io.decode_heic() and torchvision.io.decode_avif(). This is still experimental / BETA, so let us know if you encounter any issue.

Read more in our docs!

New Features

[io] Add support for decoding AVIF and HEIC image formats (#8671)

Improvements

[datasets] Don't error when dataset is already downloaded (#8691) [datasets] Don't print when dataset is already downloaded (#8681) [datasets] remove printing info in datasets (#8683) [utils] Add label_colors argument to draw_bounding_boxes (#8578) [models] Add __deepcopy__ support for DualGraphModule (#8708) [Docs] Various documentation improvements (#8798, [#8709], [#8576], [#8620], [#8846], [#8758]) [Code quality] Various code quality improvements (#8757, [#8755], [#8754], [#8689], [#8719], [#8772], [#8774], [#8791], [#8705])

Bug Fixes

[io] Fix memory leak in decode_webp (#8712) [io] Fix pyav 14 compatibility error (#8776) [models] Fix order of auxiliary networks in googlenet.py (#8743) [transforms] Fix adjust_hue on ARM (#8618) [reference scripts] Fix error when loading the cached dataset in video classification reference(#8727) [build] fix CUDA build with NVCC_FLAGS in env (#8692)

Tracked Regressions

[build] aarch64 builds are build with manylinux_2_34_aarch64 tag according to auditwheel check (#8883)

Contributors

We're grateful for our community, which helps us improve torchvision by submitting issues and PRs, and providing feedback and suggestions. The following persons have contributed patches for this release:

amdfaa Andreas Floros, Andrey Talman , Beh Chuen Yang, David Miguel Susano Pinto, GdoongMathew, Jason Chou, Li-Huai (Allan) Lin, Maohua Li, Nicolas Hug , pblwk, R. Yao, sclarkson, vfdev, Ștefan Talpalaru

Source: README.md, updated 2025-01-29