Skip to content

Commit 775e5ec

Browse files
committed
cleanup
1 parent 01992d3 commit 775e5ec

File tree

5 files changed

+1
-815
lines changed

5 files changed

+1
-815
lines changed

test/test_transforms_v2_consistency.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,6 @@ def __init__(
7272
LINEAR_TRANSFORMATION_MATRIX = torch.rand([LINEAR_TRANSFORMATION_MEAN.numel()] * 2)
7373

7474
CONSISTENCY_CONFIGS = [
75-
ConsistencyConfig(
76-
v2_transforms.FiveCrop,
77-
legacy_transforms.FiveCrop,
78-
[
79-
ArgsKwargs(18),
80-
ArgsKwargs((18, 13)),
81-
],
82-
make_images_kwargs=dict(DEFAULT_MAKE_IMAGES_KWARGS, sizes=[(20, 19)]),
83-
),
84-
ConsistencyConfig(
85-
v2_transforms.TenCrop,
86-
legacy_transforms.TenCrop,
87-
[
88-
ArgsKwargs(18),
89-
ArgsKwargs((18, 13)),
90-
ArgsKwargs(18, vertical_flip=True),
91-
],
92-
make_images_kwargs=dict(DEFAULT_MAKE_IMAGES_KWARGS, sizes=[(20, 19)]),
93-
),
9475
*[
9576
ConsistencyConfig(
9677
v2_transforms.LinearTransformation,
@@ -750,8 +731,6 @@ def test_common(self, t_ref, t, data_kwargs):
750731
(legacy_F.pil_to_tensor, {}),
751732
(legacy_F.convert_image_dtype, {}),
752733
(legacy_F.to_pil_image, {}),
753-
(legacy_F.five_crop, {}),
754-
(legacy_F.ten_crop, {}),
755734
(legacy_F.to_grayscale, {}),
756735
(legacy_F.rgb_to_grayscale, {}),
757736
(legacy_F.to_tensor, {}),

0 commit comments

Comments
 (0)