Skip to content

Commit

Permalink
Update lora_gui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gesen2egee authored Mar 19, 2024
1 parent 726f5b3 commit c3239a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kohya_gui/lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def train_model(

if LoRA_type == "LyCORIS/Diag-OFT":
network_module = "lycoris.kohya"
network_args = f' "preset={LyCORIS_preset}" "conv_dim={conv_dim}" "conv_alpha={conv_alpha}" "module_dropout={module_dropout}" "use_tucker={use_tucker}" "use_scalar={use_scalar}" "rank_dropout_scale={rank_dropout_scale}" "constrain={constrain}" "rescaled={rescaled}" "algo=diag-oft" '
network_args = f' "preset={LyCORIS_preset}" "conv_dim={conv_dim}" "conv_alpha={conv_alpha}" "module_dropout={module_dropout}" "use_tucker={use_tucker}" "use_scalar={use_scalar}" "rank_dropout_scale={rank_dropout_scale}" "constrain={constrain}" "rescaled={rescaled}" "algo=diag-oft" "train_norm={train_norm}"'

if LoRA_type == "LyCORIS/DyLoRA":
network_module = "lycoris.kohya"
Expand Down

0 comments on commit c3239a0

Please sign in to comment.