[kohya_ss] 手动下载模块

kohya_ss的环境搭建就不写了,网上一大把。参数都已经设置好了,想自己训练模型,开始就报错了,如下

OSError: Can't load tokenizer for 'laion/CLIP-ViT-bigG-14-laion2B-39B-b160k'. 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 'laion/CLIP-ViT-bigG-14-laion2B-39B-b160k' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.

这里的意思是说,找不到模型: laion/CLIP-ViT-bigG-14-laion2B-39B-b160k。就想去huggingface下载。哎,大家也知道国内的网络环境,就一直卡在那里。

 

去modelScope手动下载,这里是其中一个可用的: 

https://modelscope.cn/models/YorickHe/CLIP-ViT-bigG-14-laion2B-39B-b160k/files

问题来了,下载要放在什么地方呢?

其实就只需要放到本地kohya_ss的根目录即可!

 

 

最后想说一句,国内想快速发展AI,就不要搞那么多限制!

 

posted @ 2024-03-12 16:08  DavidHHuan  阅读(507)  评论(0编辑  收藏  举报