OpenBMB / MiniCPM-V

MiniCPM-V 2.6: A GPT-4V Level MLLM for Single Image, Multi Image and Video on Your Phone
Apache License 2.0
12.14k stars 849 forks source link

可以指定模型位置么 #219

Closed asus10tu closed 4 months ago

asus10tu commented 4 months ago

执行web_demo_2.5.py的时候,一定会默认下载模型,但是我已经手动下载了。

iceflame89 commented 4 months ago

web_demo_2.5.py 代码中 model_path = 'openbmb/MiniCPM-Llama3-V-2_5' 替换成本地路径即可 https://github.com/OpenBMB/MiniCPM-V/blob/main/web_demo_2.5.py#L26-L28