RiseInRose / MiniGPT-4-ZH

MiniGPT-4 中文部署翻译 完善部署细节
BSD 3-Clause "New" or "Revised" License
858 stars 102 forks source link

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 #14

Open sujaly opened 1 year ago

sujaly commented 1 year ago

当上传完图片之后, 然后在右侧发送文字,就报这个错误。 大家有遇到吗? @RiseInRose 请问有没有解决方案,麻烦您帮指导一下