wxj630 / visual-chatgpt-zh

visual-chatgpt支持中文版本
Apache License 2.0
286 stars 43 forks source link

运行python visual_chatgpt_zh.py报错 #11

Open hunterabc opened 1 year ago

hunterabc commented 1 year ago

运行python visual_chatgpt_zh.py,其中./downloadmodels为存放模型的地址: python visual_chatgpt_zh.py --load ImageCaptioning_cuda:0,Text2Image_cuda:0 --pretrained_model_dir ./downloadmodels

报错: UnpicklingError: invalid load key, 'v'. During handling of the above exception, another exception occurred:

OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run git lfs install followed by git lfs pull in the folder you cloned.

运行遇到的问题11

运行遇到的问题2

hunterabc commented 1 year ago

已经尝试如下:

  1. curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
  2. sudo apt-get install git-lfs
  3. git lfs install
  4. git lfs pull 仍然报同样的错误。
wxj630 commented 1 year ago

模型没下载成功,现在装git lfs,再下载模型,确保模型下载成功了