Skip to content

Commit

Permalink
Remove debug image saving from read_video_pyav_base64 function
Browse files Browse the repository at this point in the history
  • Loading branch information
pufanyi committed Jan 14, 2025
1 parent 2a017ae commit bb44714
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lmms_eval/models/model_utils/load_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def read_video_pyav_base64(video_path: str, *, num_frm: int = 8, fps: Optional[f
frames = read_video_pyav(video_path, num_frm=num_frm, fps=fps, format=format)
base64_frames = []
img = Image.fromarray(frames[-1])
img.save("test.png")
for frame in frames:
img = Image.fromarray(frame)
if max_image_size:
Expand Down

0 comments on commit bb44714

Please sign in to comment.