Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3 files in kohya_gui folder #2829

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1046,11 +1046,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