-
Notifications
You must be signed in to change notification settings - Fork 7k
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
fix to_grayscale deprecation warning #7702
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot but... Did we decide to still deprecate to_grayscale? (I remember it was a bit messy...)
It is. In v1 we have both
For some reason, vision/torchvision/transforms/functional.py Lines 1269 to 1272 in d814772
vision/torchvision/transforms/functional.py Lines 1296 to 1299 in d814772
Meaning, in the (now private) The transforms |
Hey @pmeier! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Reviewed By: vmoens Differential Revision: D47186572 fbshipit-source-id: 3818db074027c4643f33255ddd1df90f936d15e9
Fixes #7700. In #7120 we removed
F.convert_colorspace
and undeprecatedF.rgb_to_grayscale
in #7122. We just forgot to adapt the deprecation warning.