[已解决] OSError: Can‘t load tokenizer for ‘openai/clip-vit-large-patch14‘.

该文章已生成可运行项目,

【领域】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-webuiicon-default.png?t=O83Ahttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11507Stable-diffusion安装时Can‘t load tokenizer for ‘openai/clip-vit-large-patch14‘问题解决-优快云博客icon-default.png?t=O83Ahttps://blog.youkuaiyun.com/qq_39352483/article/details/133883932

本文章已经生成可运行项目
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值