MiniGPT-4/minigpt4/models/modeling_llama.py", line 517, in forward position_ids = position_ids.view(-1, seq_length).long() RuntimeError: shape '[-1, 87]' is invalid for input of size 88 #316
When I run python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0, I get an error when I input text after uploading images to the web page.
When I run python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0, I get an error when I input text after uploading images to the web page.
Have you ever encountered such a mistake?