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
3247eadd
Unverified
Commit
3247eadd
authored
Jul 21, 2022
by
Manuel Romero
Committed by
GitHub
Jul 21, 2022
Browse files
Fix var name (#119)
parent
a487b509
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/hub_utils.py
src/diffusers/hub_utils.py
+1
-1
No files found.
src/diffusers/hub_utils.py
View file @
3247eadd
...
@@ -184,7 +184,7 @@ def create_model_card(args, model_name):
...
@@ -184,7 +184,7 @@ def create_model_card(args, model_name):
adam_beta1
=
args
.
adam_beta1
if
hasattr
(
args
,
"adam_beta1"
)
else
None
,
adam_beta1
=
args
.
adam_beta1
if
hasattr
(
args
,
"adam_beta1"
)
else
None
,
adam_beta2
=
args
.
adam_beta2
if
hasattr
(
args
,
"adam_beta2"
)
else
None
,
adam_beta2
=
args
.
adam_beta2
if
hasattr
(
args
,
"adam_beta2"
)
else
None
,
adam_weight_decay
=
args
.
adam_weight_decay
if
hasattr
(
args
,
"adam_weight_decay"
)
else
None
,
adam_weight_decay
=
args
.
adam_weight_decay
if
hasattr
(
args
,
"adam_weight_decay"
)
else
None
,
adam_epsilon
=
args
.
adam_epsilon
if
hasattr
(
args
,
"adam_
weight_decay
"
)
else
None
,
adam_epsilon
=
args
.
adam_epsilon
if
hasattr
(
args
,
"adam_
epsilon
"
)
else
None
,
lr_scheduler
=
args
.
lr_scheduler
if
hasattr
(
args
,
"lr_scheduler"
)
else
None
,
lr_scheduler
=
args
.
lr_scheduler
if
hasattr
(
args
,
"lr_scheduler"
)
else
None
,
lr_warmup_steps
=
args
.
lr_warmup_steps
if
hasattr
(
args
,
"lr_warmup_steps"
)
else
None
,
lr_warmup_steps
=
args
.
lr_warmup_steps
if
hasattr
(
args
,
"lr_warmup_steps"
)
else
None
,
ema_inv_gamma
=
args
.
ema_inv_gamma
if
hasattr
(
args
,
"ema_inv_gamma"
)
else
None
,
ema_inv_gamma
=
args
.
ema_inv_gamma
if
hasattr
(
args
,
"ema_inv_gamma"
)
else
None
,
...
...
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