MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

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

Open sujaly opened this issue 1 year ago • 1 comments

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?

sujaly avatar Aug 11 '23 14:08 sujaly