Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_video gets 0 frame for mp4 file #495

Open
yuanyehome opened this issue Jan 11, 2025 · 0 comments
Open

load_video gets 0 frame for mp4 file #495

yuanyehome opened this issue Jan 11, 2025 · 0 comments
Assignees

Comments

@yuanyehome
Copy link

Hi, when I evaluated on LongVideoBench with the provided command:

python3 -m accelerate.commands.launch \
    --main_process_port 11223 \
    --num_processes=1 -m lmms_eval \
    --model video_llava \
    --tasks longvideobench_val_v \
    --batch_size 1 \
    --log_samples \
    --log_samples_suffix video_llava_lvb_v \
    --output_path ./logs/ \
    --verbosity DEBUG

I got need at least one array to stack error when running lmms_eval/models/model_utils/load_video.py. I think this line may cause this error. For some mp4 files, the metadata doesn't contain the frame information. Is it a bug or is there something wrong with my command?

@pufanyi pufanyi self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants