Sourced from torchvision's releases.
Torchvision 0.21 release
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 astorchvision.io.decode_heic()
andtorchvision.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 todraw_bounding_boxes
(#8578) [models] Add__deepcopy__
support forDualGraphModule
(#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] Fixadjust_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
7af6987
[Cherry-Pick] Update Requires-Python: >=3.9 (#8886)eafc293
[Cherry-pick for 0.21] Migrate avif and heic decoders to
torchvision-extra-de...2f3a43f
[Cherry-pick for 0.21] Fix doc of masks_to_boxes (#8798)
(#8799)b411ffc
[0.21 release] Use release/2.6 branch of test-infra (#8795)8217401
[release/0.21] set version to 0.21.0 (#8797)a1c7f8e
[release 0.21] remove prototype stuff (#8794)a9a726a
Make v2 transforms authoring public (#8787)48f01de
Ignore mypy for maxvit (#8791)6279faa
Fix pyav 14 error (#8776)36e219b
mypy again (#8774)