-
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
Fixed issue with padding on CI #5875
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.
@vfdev-5 I have undone your skipping of the ColourJitter tests. I believe the issue was fixed. by reverting the upstream PR in question.
I think this should fix the issue, let's wait for the CI results and if green we can merge.
if padding_mode in ("reflect", "replicate"): | ||
img = torch_pad(img, p, mode=padding_mode) | ||
else: | ||
img = torch_pad(img, p, mode=padding_mode, value=float(fill)) |
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.
There is a PR that resolves the accidental BC break at pytorch/pytorch#76307
It's not merged yet but we can go ahead and adopt this approach in TorchVision to avoid it regardless.
I'm merging this to fix the breakages from the previous nightly. Thanks for the contribution @vfdev-5 |
Summary: * Fixed issue with padding on CI * Disabled failing tests with color_jitter * Remove Jitter workaround Reviewed By: jdsgomes, NicolasHug Differential Revision: D36095701 fbshipit-source-id: 433b74ba300044a7a95760f3eff0e0e267d8a67f Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Related to #5873