-
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
port tests for F.resized_crop and RandomResizedCrop #7934
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7934
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Merge Blocking SEVsThere is 1 active merge blocking SEVs. Please view them below:
If you must merge, use ❌ 2 New Failures, 8 Unrelated FailuresAs of commit 9c0667b with merge base 4103552 (): NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -526,88 +525,6 @@ def test_tv_tensor_explicit_metadata(self, metadata): | |||
# `transforms_v2_kernel_infos.py` | |||
|
|||
|
|||
def _compute_affine_matrix(angle_, translate_, scale_, shear_, center_): |
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.
Driveby. This was not used anywhere anymore.
|
||
|
||
@pytest.mark.parametrize("device", cpu_and_cuda()) | ||
def test_correctness_vertical_flip_segmentation_mask_on_fixed_input(device): |
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.
Driveby. We forgot to remove this when porting the tests for F.vertical_flip
.
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 , LGTM with a few comments below
Hey @pmeier! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Reviewed By: matteobettini Differential Revision: D49600789 fbshipit-source-id: 9b6f99504819434be8e00913cea62cd29159a98f
Since this is a composite kernel, I refrained from large parametrizations. LMK if you want more.
cc @vfdev-5