Stricter SanitizeBoundingBoxes labels_getter heuristic#7880
Stricter SanitizeBoundingBoxes labels_getter heuristic#7880NicolasHug merged 1 commit intopytorch:mainfrom
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.
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.
pmeier
left a comment
There was a problem hiding this comment.
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