-
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
separate transforms v2 legacy test utils #7842
Conversation
Conflicts: test/test_prototype_transforms.py test/test_transforms_v2.py test/test_transforms_v2_functional.py
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 @pmeier
|
||
|
||
def make_bounding_box( | ||
def make_bounding_boxes( |
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'd be nice if we could get rid of the unused parameters / functionality. For example we shouldn't need batch_dims
anymore? Maybe there are others. But we can do that in a follow-up PR.
Summary: (Note: this ignores all push blocking failures!) Reviewed By: matteobettini Differential Revision: D48900374 fbshipit-source-id: 69750e3297c88df98e5bb523364317ca05ec4722
This does two things:
common_utils.py
into a separate module.make_bounding_box
tomake_bounding_boxes
to align it with the name of the datapoint. Themake_bounding_boxes
legacy utility was renamed tomake_multiple_bounding_boxes
, since we don't care about breaking the naming scheme there.