-
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
Stricter SanitizeBoundingBoxes labels_getter heuristic #7880
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7880
Note: Links to docs will display an error until the docs builds have been completed. ❌ 7 New Failures, 1 Unrelated FailureAs of commit 9d11700 with merge base 054432d ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
v2.SanitizeBoundingBoxes(), | ||
v2.RandomResizedCrop(size=(224, 224), antialias=True), | ||
v2.RandomPhotometricDistort(p=1), | ||
v2.RandomHorizontalFlip(p=1), |
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 was actually mis-using SanitizeBoundingBoxes()
as I wasn't passing a label, so I should have set labels_getter
to None (see non-regression test below). I decided to just remove SanitizeBoundingBoxes here because that would require making the input a dict, also forcing to change the narrative below. It's OK, SanitizeBoundingBoxes will be clearly used and mentioned in the e2e example that I'm working on now.
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 if CI is green, thanks!
CI is toasted, some linux unit tests jobs are passing so I'll merge, thanks for the quick review! |
Summary: (Note: this ignores all push blocking failures!) Reviewed By: matteobettini Differential Revision: D48900400 fbshipit-source-id: 022f3867c943f6938ec9ac9b43b13eacf53e14d4
Fixes #7878
cc @vfdev-5