Skip to content
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

Merged
merged 5 commits into from
Aug 18, 2023
Merged

Conversation

pmeier
Copy link
Contributor

@pmeier pmeier commented Aug 17, 2023

This does two things:

  1. Separate the legacy transforms v2 utils from common_utils.py into a separate module.
  2. Rename make_bounding_box to make_bounding_boxes to align it with the name of the datapoint. The make_bounding_boxes legacy utility was renamed to make_multiple_bounding_boxes, since we don't care about breaking the naming scheme there.

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 17, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7842

Note: Links to docs will display an error until the docs builds have been completed.

❌ 15 New Failures, 1 Unrelated Failure

As of commit 6f61a59 with merge base 99ebb75 (image):

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.

Conflicts:
	test/test_prototype_transforms.py
	test/test_transforms_v2.py
	test/test_transforms_v2_functional.py
Copy link
Member

@NicolasHug NicolasHug left a 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(
Copy link
Member

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.

@pmeier pmeier merged commit 87d54c4 into pytorch:main Aug 18, 2023
46 of 62 checks passed
@pmeier pmeier deleted the utils-separation branch August 24, 2023 08:15
facebook-github-bot pushed a commit that referenced this pull request Sep 6, 2023
Summary: (Note: this ignores all push blocking failures!)

Reviewed By: matteobettini

Differential Revision: D48900374

fbshipit-source-id: 69750e3297c88df98e5bb523364317ca05ec4722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants