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
1b46c661
Commit
1b46c661
authored
Aug 28, 2023
by
Patrick von Platen
Browse files
make style
parent
03135898
Changes
1
Hide 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 @
1b46c661
...
...
@@ -889,7 +889,7 @@ def main():
if
global_step
%
args
.
save_steps
==
0
:
weight_name
=
(
f
"learned_embeds-steps-
{
global_step
}
.bin"
if
args
.
no_safe_serialization
if
args
.
no_safe_serialization
else
f
"learned_embeds-steps-
{
global_step
}
.safetensors"
)
save_path
=
os
.
path
.
join
(
args
.
output_dir
,
weight_name
)
...
...
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