【领域】Stable diffusion webui Mac M1 安装部署
【报错信息】OSError: Can’t load tokenizer for ‘openai/clip-vit-large-patch14’. If you were trying to load it from ‘https://huggingface.co/models’, make sure you don’t have a local directory with the same name. Otherwise, make sure ‘openai/clip-vit-large-patch14’ is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.
【原因分析】clip-vit-large-patch14 国内已经不能访问了
需要手动创建openai 目录并把 下载后解压的资源拖入到openai目录下面[全文精华]
【资源下载】链接: https://pan.baidu.com/s/1EBptJ2v9inq9A5LEYFfBMg 提取码: dh2b
【官网下载】或者去官网下载,然后步骤如下所示:
用人话翻译一下:在根目录下创建一个文件夹 《openai》,然后把下载的文件传入进去就OK了
看报错信息其实也就知道文件路径应该放在哪里了
致谢参考解析:
[Bug]: OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer. · Issue #11507 · AUTOMATIC1111/stable-diffusion-webuihttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11507Stable-diffusion安装时Can‘t load tokenizer for ‘openai/clip-vit-large-patch14‘问题解决-CSDN博客https://blog.csdn.net/qq_39352483/article/details/133883932