Linaqruf / kohya-trainer

Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning
Apache License 2.0
1.83k stars 300 forks source link

Issue with latest kohya-LoRA-trainer-XL.ipynb LOAD_DIFFUSERS_MODEL #280

Open tman1980 opened 1 year ago

tman1980 commented 1 year ago

Hello, i downloaded the latest kohya-LoRA-trainer-XL.ipynb today and set it up, however it wont let me download any diffusers. I am using correct Token key, I have tested both A100 and V100 runtime in Google Colab.

It seem to point to something erroneous in def main(), but my python programming is very limiting but since i know c/c++ and C# some i have a grasp of the code but i could not solve it so i am posting this issue here to see if someone has an idea of what it is?.

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in <cell line: 169>:169 │ │ in main:138 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ UnboundLocalError: local variable 'LOAD_DIFFUSERS_MODEL' referenced before assignment