Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
19a0ce4a
Unverified
Commit
19a0ce4a
authored
Jan 04, 2023
by
Alex Redden
Committed by
GitHub
Jan 04, 2023
Browse files
Fix lr-scaling store_true & default=True cli argument for textual_inversion training. (#1090)
Fix default lr-scaling cli argument
parent
856331c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/textual_inversion/textual_inversion.py
examples/textual_inversion/textual_inversion.py
+1
-1
No files found.
examples/textual_inversion/textual_inversion.py
View file @
19a0ce4a
...
@@ -164,7 +164,7 @@ def parse_args():
...
@@ -164,7 +164,7 @@ def parse_args():
parser
.
add_argument
(
parser
.
add_argument
(
"--scale_lr"
,
"--scale_lr"
,
action
=
"store_true"
,
action
=
"store_true"
,
default
=
Tru
e
,
default
=
Fals
e
,
help
=
"Scale the learning rate by the number of GPUs, gradient accumulation steps, and batch size."
,
help
=
"Scale the learning rate by the number of GPUs, gradient accumulation steps, and batch size."
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment