当前位置:   article > 正文

AIGC之Can‘t load tokenizer for ‘openai/clip-vit-large-patch14‘_clip-vit-large-patch14clip-vit-large-patch14

clip-vit-large-patch14clip-vit-large-patch14

前言
在跑Stable Diffusion v1系列的时候遇到了
OSError: Can’t load tokenizer for ‘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 ‘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目录下面,我自己连代码都不用改
在这里插入图片描述
在这里插入图片描述
没改:
在这里插入图片描述

下载链接:
[已解决] Can‘t load tokenizer for ‘openai/clip-vit-large-patch14‘

另外如果不行的话,可以去官网下载
clip-vit-large-patch14官网链接

在这里插入图片描述
欢迎点赞或收藏~

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/1016093
推荐阅读
相关标签
  

闽ICP备14008679号