PKU-YuanGroup / Video-LLaVA

【EMNLP 2024🔥】Video-LLaVA: Learning United Visual Representation by Alignment Before Projection
https://arxiv.org/pdf/2311.10122.pdf
Apache License 2.0
3.04k stars 220 forks source link

推理多张图片时报错 IndexError: list index out of range #146

Open Qinger27 opened 7 months ago

Qinger27 commented 7 months ago

我想在一个脚本中测试多个image,但是只有第一张图片可以正常获得推理结果,测试第二张时就会出现下面的问题: cur_image_features = image_features[cur_image_idx] IndexError: list index out of range 可以帮忙看一下吗?感谢!

josep-alana commented 7 months ago

Check out https://github.com/PKU-YuanGroup/Video-LLaVA/issues/40#issuecomment-2077800141 in case it helps.