hollowstrawberry / kohya-colab

Accessible Google Colab notebooks for Stable Diffusion Lora training, based on the work of kohya-ss and Linaqruf
GNU General Public License v3.0
564 stars 79 forks source link

Traceback Error #141

Closed Fuechsli closed 2 months ago

Fuechsli commented 2 months ago

Traceback (most recent call last): File "/content/kohya-trainer/train_network_wrapper.py", line 9, in train(args) File "/content/kohya-trainer/train_network.py", line 92, in train tokenizer = train_util.load_tokenizer(args) File "/content/kohya-trainer/library/train_util.py", line 3029, in load_tokenizer tokenizer = CLIPTokenizer.from_pretrained(original_path) File "/usr/local/lib/python3.10/dist-packages/transformers/tokenization_utils_base.py", line 1788, in from_pretrained raise EnvironmentError(

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.

Never had this happen before. Any Idea what could cause thise?

DDesmondd commented 2 months ago

HF maintenance

Fuechsli commented 2 months ago

HF maintenance

Oh, that explains it.

Thank you very much!