Unverified Commit 7d6da483 authored by Canlin Guo's avatar Canlin Guo Committed by GitHub
Browse files

[Minor][Clean] Remove the legacy assertion in video (#29150)


Signed-off-by: default avatargcanlin <canlinguosdu@gmail.com>
parent e4c3182c
......@@ -113,11 +113,6 @@ class VideoLoader:
valid_num_frames,
)
assert i == valid_num_frames, (
f"Expected reading {valid_num_frames} frames, "
f"but only loaded {i} frames from video."
)
return frames[:valid_num_frames], valid_num_frames, valid_frame_indices
......
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