Open freedomRen opened 1 year ago
是哪一行代码报的错
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /media/aiserver/**/Project/chatgpt/visual-chatgpt-zh/visual_chatgpt_zh.py │
│ :164 in repo_type
argument if needed." │
│ 163 │ │ ) │
╰──────────────────────────────────────────────────────────────────────────────╯
HFValidationError: Repo id must be in the form 'repo_name' or
'namespace/repo_name':
'/home/****/Project/chatgpt/visual-chatgpt-zh/models/ControlNet'. Use
repo_type
argument if needed.
你要先用download_hf_models.sh下载模型呀
我模型都下载好了 只是程序没有get到 ,有点类似这个bug https://github.com/huggingface/setfit/issues/111
你本地的huggingface_hub 版本对不。 这是在使用 Image2Canny_cpu CannyText2Image_cpu Image2Line_cpu ineText2Image_cuda:0等的时候才会出现的问题
我试一下
我试了下,主要是controlnet_aux这个包的问题,我更新了一下代码,你再拉下新代码试下
好的 我看下你的改动
运行一些基础组件报错 Repository Not Found for url: https://huggingface.co/models/ControlNet/resolve/main/annotator/ckpts/mlsd_large _512_fp32.pth. Please make sure you specified the correct
repo_id
andrepo_type
. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.