pypi torchvision 0.21.0
Torchvision 0.21 release

one day ago

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

Don't miss a new torchvision release

NewReleases is sending notifications on new releases.