-
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
Undeprecate int constants for interpolation #7241
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.
Some first round but this looks good. According to the failing test is looks like we still have some remnants of _pil_constants.py
in a few places
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.
Thanks a lot Philip.
Do we.. need to bring back support for it on the v2 transforms as well? Let's mark it as "nice to have" on #7217?
Reviewed By: vmoens Differential Revision: D44416623 fbshipit-source-id: e404afad4f4e9cab00c0365410cdeb588179378b
Closes #7205. TL;DR this PR undoes #7176, #5974, #5898 for the integer inputs for interpolation mode. They are now fully supported again and no longer emit a deprecation warning. I'll send a follow-up PR to add this functionality to the prototype transforms as well.
cc @vfdev-5