THUDM / VisualGLM-6B

Chinese and English multimodal conversational language model | 多模态中英双语对话语言模型
Apache License 2.0
4.07k stars 414 forks source link

RuntimeError: The size of tensor a (4096) must match the size of tensor b (2048) at non-singleton dimension 1 #282

Open 2532649525 opened 11 months ago

2532649525 commented 11 months ago

运行完推理命令python cli_demo.py --from_pretrained your_checkpoint_path --prompt_zh 这张图片的背景里有什么内容?后报错:

image

RuntimeError: The size of tensor a (4096) must match the size of tensor b (2048) at non-singleton dimension 1 请问怎么解决?