Skip to content

Torchvision functional rotate should have a fill option #1277

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

Closed
ginacode opened this issue Aug 30, 2019 · 2 comments · Fixed by #1280
Closed

Torchvision functional rotate should have a fill option #1277

ginacode opened this issue Aug 30, 2019 · 2 comments · Fixed by #1280

Comments

@ginacode
Copy link

torchvision.transforms.functional.rotate should have a fill option, or something to let us choose black or white. Padding and random crop all have a fill option,

@ginacode
Copy link
Author

Thank you! Although it is not necessary for my application, perhaps there should be a fill option on transforms.RandomRotation as well.

@pmeier
Copy link
Collaborator

pmeier commented Aug 31, 2019

The change for transforms.RandomRotation is already included in the PR.

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 a pull request may close this issue.

2 participants