We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1beb055 commit 7cc11c1Copy full SHA for 7cc11c1
test/test_decoders.py
@@ -1490,13 +1490,6 @@ def test_beta_cuda_interface_get_frame_at(
1490
for frame_index in indices:
1491
ref_frame = ref_decoder.get_frame_at(frame_index)
1492
beta_frame = beta_decoder.get_frame_at(frame_index)
1493
- if asset == TEST_SRC_2_720P_MPEG4:
1494
- from torchvision.io import write_png
1495
- from torchvision.utils import make_grid
1496
-
1497
- img = make_grid([beta_frame.data, ref_frame.data], nrow=2)
1498
- write_png(img.cpu(), f"/tmp/frame_{frame_index:04d}.png")
1499
1500
# TODONVDEC P1 see above
1501
if get_ffmpeg_major_version() > 4 and asset is not TEST_SRC_2_720P_MPEG4:
1502
torch.testing.assert_close(
0 commit comments