From e89d9c1951b184ee58efda0f38b2d8c94976c895 Mon Sep 17 00:00:00 2001 From: Daniel Gu Date: Tue, 23 Dec 2025 11:14:05 +0100 Subject: [PATCH] Fix video shape error in full pipeline test script --- scripts/ltx2_test_full_pipeline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/ltx2_test_full_pipeline.py b/scripts/ltx2_test_full_pipeline.py index 63c6f0400f..14b02a490f 100644 --- a/scripts/ltx2_test_full_pipeline.py +++ b/scripts/ltx2_test_full_pipeline.py @@ -200,8 +200,6 @@ def main(args): # Convert video to uint8 (but keep as NumPy array) video = (video * 255).round().astype("uint8") video = torch.from_numpy(video) - # video should already be frames first, reshape to channels-last (we want shape to be (*, F, H , W, C)) - video = video.permute(0, 1, 3, 4, 2) encode_video( video[0],