bmaltais / kohya_ss

Apache License 2.0
9.42k stars 1.22k forks source link

How to train LORA with textEncoder 1 only. I get sdxl_train_network.py: error: unrecognized arguments: --train_text_encoder --learning_rate_te2=0" #2643

Open protector131090 opened 2 months ago

protector131090 commented 2 months ago

Dreambooth works fine with this command but LORA get an error. Is there a way to train LORA with TextEncoder 1 but without second one? for dreambooth i use --train_text_encoder --learning_rate_te2="0" --max_grad_norm=0.0 --no_half_vae . But for LORA i get error sdxl_train_network.py: error: unrecognized arguments: --train_text_encoder --learning_rate_te2=0"

DarkViewAI commented 2 months ago

yeah it wont work for lora, its only for dreambooth.