"docs/vscode:/vscode.git/clone" did not exist on "5489406c4a06780c23357880588f807a5f2f52e7"
Unverified Commit fe0d280d authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Avoid segfault in VideoClip test (#8148)

parent 30397d91
......@@ -60,7 +60,7 @@ class TestVideo:
video_list = get_list_of_videos(tmpdir, num_videos=3, sizes=[12, 12, 12], fps=[3, 4, 6])
num_frames = 4
for fps in [1, 3, 4, 10]:
video_clips = VideoClips(video_list, num_frames, num_frames, fps, num_workers=2)
video_clips = VideoClips(video_list, num_frames, num_frames, fps)
for i in range(video_clips.num_clips()):
video, audio, info, video_idx = video_clips.get_clip(i)
assert video.shape[0] == num_frames
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment