运行python visual_chatgpt_zh.py报错
hunterabc opened this issue · 2 comments
hunterabc commented
运行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.
hunterabc commented
已经尝试如下:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
- sudo apt-get install git-lfs
- git lfs install
- git lfs pull
仍然报同样的错误。
wxj630 commented
模型没下载成功,现在装git lfs,再下载模型,确保模型下载成功了