-
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 v2.Lambda #7566
fix v2.Lambda #7566
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7566
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New FailuresAs of commit 66a3e4f: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
Philip can you add few tests please?
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.
LGTM, thanks Philip !
Reviewed By: vmoens Differential Revision: D45694873 fbshipit-source-id: 7acdb2b0ab401250a90df370eed2e3b310119d5b
Fixes #7563.
Due to its setup,
v2.Lambda
needs to evaluate the input type inside_transform
. Before this PR, it inherited the_transformed_types
from the base class and and thus, it didn't apply to other objects thanvision/torchvision/transforms/v2/_transform.py
Line 19 in e5a1b71
cc @vfdev-5