Skip to content

Commit 59994f0

Browse files
committed
to default format
1 parent d059f09 commit 59994f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transformers/models/qwen3_vl/video_processing_qwen3_vl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ def _preprocess(
195195
resized_videos_grouped = {}
196196

197197
for shape, stacked_videos in grouped_videos.items():
198+
B, T, C, H, W = stacked_videos.shape
199+
num_frames, height, width = T, H, W
198200
if do_resize:
199-
B, T, C, H, W = stacked_videos.shape
200-
num_frames, height, width = T, H, W
201201
resized_height, resized_width = smart_resize(
202202
num_frames=num_frames,
203203
height=height,

0 commit comments

Comments
 (0)