Skip to content

Commit

Permalink
Merge pull request #2829 from iamrohitanshu/sd3-flux.1
Browse files Browse the repository at this point in the history
Update 3 files in kohya_gui folder
  • Loading branch information
bmaltais committed Sep 17, 2024
2 parents e696df2 + b8c4de1 commit 0ba8ab6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions kohya_gui/dreambooth_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,11 +763,11 @@ def train_model(
reg_factor = 1
else:
log.warning(
"Regularisation images are used... Will double the number of steps required..."
"Regularization images are used... Will double the number of steps required..."
)
reg_factor = 2

log.info(f"Regulatization factor: {reg_factor}")
log.info(f"Regularization factor: {reg_factor}")

if max_train_steps == 0:
# calculate max_train_steps
Expand Down
4 changes: 2 additions & 2 deletions kohya_gui/lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,11 +1052,11 @@ def train_model(
reg_factor = 1
else:
log.warning(
"Regularisation images are used... Will double the number of steps required..."
"Regularization images are used... Will double the number of steps required..."
)
reg_factor = 2

log.info(f"Regulatization factor: {reg_factor}")
log.info(f"Regularization factor: {reg_factor}")

if max_train_steps == 0:
# calculate max_train_steps
Expand Down
4 changes: 2 additions & 2 deletions kohya_gui/textual_inversion_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,11 @@ def train_model(
reg_factor = 1
else:
log.warning(
"Regularisation images are used... Will double the number of steps required..."
"Regularization images are used... Will double the number of steps required..."
)
reg_factor = 2

log.info(f"Regulatization factor: {reg_factor}")
log.info(f"Regularization factor: {reg_factor}")

if max_train_steps == 0:
# calculate max_train_steps
Expand Down

0 comments on commit 0ba8ab6

Please sign in to comment.