update new locon args support
This commit is contained in:
parent
c07e3bba76
commit
6bcd52c9cc
12
lora_gui.py
12
lora_gui.py
@ -116,7 +116,8 @@ def save_configuration(
|
|||||||
bucket_reso_steps,
|
bucket_reso_steps,
|
||||||
caption_dropout_every_n_epochs, caption_dropout_rate,
|
caption_dropout_every_n_epochs, caption_dropout_rate,
|
||||||
optimizer,
|
optimizer,
|
||||||
optimizer_args,noise_offset, locon = 0
|
optimizer_args,noise_offset,
|
||||||
|
locon=0, conv_dim=0, conv_alpha=0,
|
||||||
):
|
):
|
||||||
# Get list of function parameters and values
|
# Get list of function parameters and values
|
||||||
parameters = list(locals().items())
|
parameters = list(locals().items())
|
||||||
@ -222,7 +223,8 @@ def open_configuration(
|
|||||||
bucket_reso_steps,
|
bucket_reso_steps,
|
||||||
caption_dropout_every_n_epochs, caption_dropout_rate,
|
caption_dropout_every_n_epochs, caption_dropout_rate,
|
||||||
optimizer,
|
optimizer,
|
||||||
optimizer_args,noise_offset, locon=0
|
optimizer_args,noise_offset,
|
||||||
|
locon=0, conv_dim=0, conv_alpha=0,
|
||||||
):
|
):
|
||||||
# Get list of function parameters and values
|
# Get list of function parameters and values
|
||||||
parameters = list(locals().items())
|
parameters = list(locals().items())
|
||||||
@ -306,7 +308,8 @@ def train_model(
|
|||||||
bucket_reso_steps,
|
bucket_reso_steps,
|
||||||
caption_dropout_every_n_epochs, caption_dropout_rate,
|
caption_dropout_every_n_epochs, caption_dropout_rate,
|
||||||
optimizer,
|
optimizer,
|
||||||
optimizer_args,noise_offset, locon
|
optimizer_args,noise_offset,
|
||||||
|
locon, conv_dim, conv_alpha,
|
||||||
):
|
):
|
||||||
if pretrained_model_name_or_path == '':
|
if pretrained_model_name_or_path == '':
|
||||||
msgbox('Source model information is missing')
|
msgbox('Source model information is missing')
|
||||||
@ -852,7 +855,8 @@ def lora_tab(
|
|||||||
bucket_reso_steps,
|
bucket_reso_steps,
|
||||||
caption_dropout_every_n_epochs, caption_dropout_rate,
|
caption_dropout_every_n_epochs, caption_dropout_rate,
|
||||||
optimizer,
|
optimizer,
|
||||||
optimizer_args,noise_offset,locon
|
optimizer_args,noise_offset,
|
||||||
|
locon, conv_dim, conv_alpha,
|
||||||
]
|
]
|
||||||
|
|
||||||
button_open_config.click(
|
button_open_config.click(
|
||||||
|
Loading…
Reference in New Issue
Block a user