-
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
More mypy fixes/ignores #8412
More mypy fixes/ignores #8412
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8412
Note: Links to docs will display an error until the docs builds have been completed. ❌ 14 New Failures, 2 Unrelated FailuresAs of commit bdc6f4b with merge base f766d7a (): NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
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.
Thanks @NicolasHug!
@@ -94,6 +94,7 @@ def _apply_image_or_video_transform( | |||
interpolation: Union[InterpolationMode, int], | |||
fill: Dict[Union[Type, str], _FillTypeJIT], | |||
) -> ImageOrVideo: | |||
image = cast(torch.Tensor, image) |
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.
Maybe add a comment here that this cast is wrong and we are only doing this for JIT.
Reviewed By: vmoens Differential Revision: D57099467 fbshipit-source-id: 2c94c9201335601bd28969d9bfabdae33db4cfa3
Closes #8377
cc @vfdev-5