报错内容:
Error occurred when executing AIO_Preprocessor: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
错误原因
1 无法找到本地文件:
ComfyUI 在本地路径中找不到所需的文件:netG.pth.
2 尝试从 Huggingface 下载文件:
连接超时/重试多次失败
解决方案
1 检查网络连接
确保你的网络连接正常,能够访问 Huggingface 的服务器。你可以尝试在浏览器中访问 Huggingface 来验证。
2 手动安装
netG.pth下载链接: https://huggingface.co/lllyasviel/Annotators/blob/main/netG.pth
安装路径:
..\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators