Skip to content

Commit 36f52dc

Browse files
committed
add remaining video kernel infos
1 parent 4506cdf commit 36f52dc

File tree

2 files changed

+397
-132
lines changed

2 files changed

+397
-132
lines changed

test/prototype_common_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def make_video_loader(
550550
dtype=torch.uint8,
551551
):
552552
size = _parse_image_size(size)
553-
num_frames = int(torch.randint(1, 6, ())) if num_frames == "random" else num_frames
553+
num_frames = int(torch.randint(1, 4, ())) if num_frames == "random" else num_frames
554554

555555
def fn(shape, dtype, device):
556556
video = make_image(size=shape[-2:], color_space=color_space, extra_dims=shape[:-2], dtype=dtype, device=device)

0 commit comments

Comments
 (0)