Skip to content

Commit 225b6fb

Browse files
committed
99.9% -> 99.8%
1 parent 4245bdd commit 225b6fb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/test_transform_ops.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@ def test_transform_fails(self):
177177
((1.5, 1.31), (0.5, 0.71), (0.7, 1.31), (1.5, 0.71), (1.0, 1.0), (2.0, 2.0)),
178178
)
179179
@pytest.mark.parametrize("video", [NASA_VIDEO, TEST_SRC_2_720P])
180-
def test_resize_torchvision(
181-
self, video, height_scaling_factor, width_scaling_factor
182-
):
180+
def test_resize_torchvision(self, video, height_scaling_factor, width_scaling_factor):
183181
num_frames = self.get_num_frames_core_ops(video)
184182

185183
height = int(video.get_height() * height_scaling_factor)
@@ -219,7 +217,7 @@ def test_resize_torchvision(
219217
assert frame_tv_no_antialias.shape == expected_shape
220218

221219
assert_tensor_close_on_at_least(
222-
frame_resize, frame_tv, percentage=99.9, atol=1
220+
frame_resize, frame_tv, percentage=99.8, atol=1
223221
)
224222
torch.testing.assert_close(frame_resize, frame_tv, rtol=0, atol=6)
225223

0 commit comments

Comments
 (0)