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

Update torchvision.tranforms version to torchvision.transforms.v2 #2191

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lixit
Copy link
Contributor

@lixit lixit commented May 31, 2024

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@tfriedel
Copy link

tfriedel commented Jun 9, 2024

There's more v1 transforms in

class ResizeKeepRatio:

Maybe in other places as well, haven't checked.

Also v2 support mixup/cutmix. Maybe it's not so trivial to modify timm to use them, but I guess they will be faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants