Update dependency torchvision to >=0.24.1,<0.25.0 #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.20.0,<0.21.0->>=0.24.1,<0.25.0Release Notes
pytorch/vision (torchvision)
v0.24.1: TorchVision 0.24.1 ReleaseCompare Source
This is a patch release, which is compatible with PyTorch 2.9.1. There are no new features added.
v0.24.0: Torchvision 0.24 releaseCompare Source
Improving KeyPoints and Rotated boxes support!
We are releasing a tutorial on how to use
KeyPointtransformations in our Transforms on KeyPoints with a preview below!Detailed changes
Improvements
[ops] Improve efficiency of the
box_areaandbox_ioufunctions by eliminating the intermediate to "xyxy" conversion (#8992)[ops] Update box operations to support arbitrary batch dimensions (#9058)
[utils] Add control for the background color of label text boxes (#9204)
[transforms] Add support for uint8 image format to the GaussianNoise transform (#9169)
[transforms] Accelerate the
resizetransform on machines with AVX512 (#9190)[transforms] Better error handling in
RandomApplyfor empty list of transforms (#9130)[documentation] New tutorial for
KeyPointstransforms (#9209)[documentation] Various documentation improvements (#9186, #9180, #9172)
[code quality] Various code quality improvements (#9193, #9161, #9201, #9218, #9160)
Bug Fixes and deprecations
[transforms] Fix output of some geometric transforms for rotated boxes (#9181, #9175)
[transforms] Fix clamping for key points and add sanitization feature (#9236, #9235)
[datasets] Update download links to official repo for the Caltech-101 & 256 datasets (#9205)
[ops] Raise error in
drop_block[2,3]dby enforcing odd-sized block sizes (#9157)[io] Removed deprecated
video_readervideo decoding backend. (#9208)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: @alperenunlu, @AndreiMoraru123, @atalman, @AntoineSimoulin, @5had3z, @dcasbol, @GdoongMathew, @hrsvrn, @JonasKlotz, @zklaus, @NicolasHug, @rdong8, @scotts, @get9, @diaz-esparza, @ZainRizvi, @Callidior, and @pytorch/xla-devs
v0.23.0: Torchvision 0.23 releaseCompare Source
Highlight - Transforming KeyPoints and Rotated boxes!
📦 This release is introducing two highly popular feature requests: Transforms support for KeyPoints and Rotated Bounding Boxes!
We illustrated the use of Rotated Bounding Boxes below. You can expect keypoints and rotated boxes to work with all existing torchvision transforms in
torchvision.transforms.v2. You can find some examples on how to use those transformations in our Transforms on Rotated Bounding Boxes tutorials.Detailed changes
New Features
[transforms] Added support for
BoundingBoxesformats and transforms (#9104, #9084, #9095, #9138)[transforms] Added the
KeyPointstoTVTensorand support for transforms (#8817)Improvements
[utils] Add label background to
draw_bounding_boxes(#9018)[MPS] Add deformable conv2d kernel support on MPS (#9017, #9115)
[documentation] Various documentation improvements (#9063, #9119, #9083, #9105, #9106, #9145)
[code-quality] Bunch of code quality improvements (#9087, #9093, #8814, #9035, #9120, #9080, #9027, #9062, #9117, #9024, #9032)
Bug Fixes
[datasets] Fix COCO dataset to avoid issue when copying the dataset results (#9107)
[datasets] Raise error when
download=Truefor LFW dataset, which is not available for download anymore #9040)[tv_tensors] Add error message when setting 1D tensor
ToImage()(#9114)[io] Warn when webp is asked to decode into grayscale (#9101)
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: @AlannaBurke, @Alexandre-SCHOEPP, @atalman, @AntoineSimoulin, @BoyuanFeng, @cyyever, @elmuz, @emmanuel-ferdman, @hmk114, @Isalia20, @NicolasHug, @malfet, @chengolivia, @RhutvikH, @hvaara, @scotts, @alinpahontu2912, @tsahiasher, and @youcefouadjer.
v0.22.1: TorchVision 0.22.1 ReleaseCompare Source
Key info
This is a patch release, which is compatible with PyTorch 2.7.1. There are no new features added.
v0.22.0: Torchvision 0.22 releaseCompare Source
Key info
Detailed Changes
Deprecations
[io] Video decoding and encoding capabilities are deprecated and will be removed soon in 0.25! Please migrate to TorchCodec! (#8997)
Bug Fixes
[io] Fix sync bug with
encode_jpegon CUDA (#8929)[transforms]
pin_memory()now preservesTVTensorclass and metadata (#8921)Improvements
[datasets] Most datasets now support a
loaderparameter, which allow you to decode images directly into tensors withtorchvision.io.decode_image(), instead of relying on PIL. This should lead to faster pipelines! (#8945, #8972, #8939, #8922)[datasets] Add
classesattribute to theFlowers102dataset (#8838)[datasets] Added 'test' split support for Places365 dataset (#8928)
[datasets] Reduce output log on MNIST (#8865)
[ops] Perf: greatly speed-up NMS on CUDA when
num_boxesis high (#8766, #8925)[ops] Add
roi_alignnondeterministic support for XPU (#8931)[all] Improvements on input checks and error messages (#8959, #8994, #8944, #8995, #8993, #8866, #8882, #8851, #8844, #8991)
[build] Various build improvements / platforms support (#8913, #8933, #8936, #8792)
[docs] Various documentation improvements (#8843, #8860, #9014, #9015, #8932)
[misc] Other non-user-facing changes (#8872, #8982, #8976, #8935, #8977, #8978, #8963, #8975, #8974, #8950, #8970, #8924, #8964, #8996, #8920, #8873, #8876, #8885, #8890, #8901, #8999, #8998, #8973, #8897, #9007, #8852)
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:
Aditya Kamath, Alexandre Ghelfi, PhD, Alfredo Tupone, amdfaa, Andrey Talman, Antoine Simoulin, Aurélien Geron, bjarzemb, deekay42, Frost Mitchell, frost-intel , GdoongMathew, Hangxing Wei, Huy Do, Nicolas Hug, Nikita Shulga, Noopur, Ruben, tvukovic-amd, Wenchen Li, Wieland Morgenstern , Yichen Yan, Yonghye Kwon, Zain Rizvi
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.