Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump torchvision from 0.14.1 to 0.15.1 in /requirements #1177

Merged
merged 5 commits into from
Mar 16, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 15, 2023

Bumps torchvision from 0.14.1 to 0.15.1.

Release notes

Sourced from torchvision's releases.

TorchVision 0.15 - New transforms API!

Highlights

[BETA] New transforms API

TorchVision is extending its Transforms API! Here is what’s new:

  • You can use them not only for Image Classification but also for Object Detection, Instance & Semantic Segmentation and Video Classification.
  • You can use new functional transforms for transforming Videos, Bounding Boxes and Segmentation Masks.

The API is completely backward compatible with the previous one, and remains the same to assist the migration and adoption. We are now releasing this new API as Beta in the torchvision.transforms.v2 namespace, and we would love to get early feedback from you to improve its functionality. Please reach out to us if you have any questions or suggestions.

import torchvision.transforms.v2 as transforms
Exactly the same interface as V1:
trans = transforms.Compose([
transforms.ColorJitter(contrast=0.5),
transforms.RandomRotation(30),
transforms.CenterCrop(480),
])
imgs, bboxes, masks, labels = trans(imgs, bboxes, masks, labels)

You can read more about these new transforms in our docs, and you can also check out our examples:

Note that this API is still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in pytorch/vision#6753, and you can also check out pytorch/vision#7319 to learn more about the APIs that we suspect might involve future changes.

[BETA] New Video Swin Transformer

We added a Video SwinTransformer model is based on the Video Swin Transformer paper.

import torch
from torchvision.models.video import swin3d_t
video = torch.rand(1, 3, 32, 800, 600)
or swin3d_b, swin3d_s
model = swin3d_t(weights="DEFAULT")
model.eval()
with torch.inference_mode():
prediction = model(video)
print(prediction)

The model has the following accuracies on the Kinetics-400 dataset:

| Model | Acc@1 | Acc@5 |

... (truncated)

Commits
  • 42759b1 Version number bump for vision (#7419)
  • 0ca0735 [Cherry-pick for 0.15] Fix warning message (#7395)
  • a2c033c Remove prototype code / tests / CI on release branch (#7390)
  • 96bdbe0 Skip some warning test on 3.10 to avoid MKL-related warning (and failure) (#7...
  • 23e3ede [Cherry-pick for 0.15] Use python 3.9 conda environment for cmake circleci wo...
  • 7bd9632 [Cherry-pick for 0.15] Revert CP of " Extend TorchVision smoke tests to MPS (...
  • 6eb3efd [Cherry-pick for 0.15] Fix flaky test + add smoke test (#7367)
  • a146b7c [Release only fixes] Fix unit test to run on test channel rather then nightly...
  • 50e8acf [Cherry-pick for 0.15] Ci fixes (#7358)
  • dd5e8a4 [Cherry-pick for 0.15] (#7353)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Packaging and dependencies python Pull requests that update Python code labels Mar 15, 2023
@adamjstewart adamjstewart added this to the 0.4.1 milestone Mar 15, 2023
dependabot bot and others added 3 commits March 16, 2023 11:43
Bumps [torchvision](https://github.com/pytorch/vision) from 0.14.1 to 0.15.1.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.14.1...v0.15.1)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@adamjstewart adamjstewart force-pushed the dependabot/pip/requirements/torchvision-0.15.1 branch from 532ad5d to c80229f Compare March 16, 2023 16:55
@github-actions github-actions bot added losses Geospatial loss functions scripts Training and evaluation scripts testing Continuous integration testing labels Mar 16, 2023
@adamjstewart adamjstewart enabled auto-merge (squash) March 16, 2023 17:15
@adamjstewart adamjstewart merged commit 28ce959 into main Mar 16, 2023
@adamjstewart adamjstewart deleted the dependabot/pip/requirements/torchvision-0.15.1 branch March 16, 2023 17:28
calebrob6 pushed a commit that referenced this pull request Apr 10, 2023
* Bump torchvision from 0.14.1 to 0.15.1 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.14.1 to 0.15.1.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.14.1...v0.15.1)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump pytorch too

* Fix tests

* bump precommit

* blacken

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
* Bump torchvision from 0.14.1 to 0.15.1 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.14.1 to 0.15.1.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.14.1...v0.15.1)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump pytorch too

* Fix tests

* bump precommit

* blacken

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Packaging and dependencies losses Geospatial loss functions python Pull requests that update Python code scripts Training and evaluation scripts testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant