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
952b9131
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "1082c46afa4a15c49833d67c7f1c0f3cfd7b0570"
Unverified
Commit
952b9131
authored
Feb 16, 2025
by
Yaniv Galron
Committed by
GitHub
Feb 16, 2025
Browse files
typo fix (#10802)
parent
d90cd362
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/controlnet/train_controlnet.py
examples/controlnet/train_controlnet.py
+1
-1
No files found.
examples/controlnet/train_controlnet.py
View file @
952b9131
...
@@ -1143,7 +1143,7 @@ def main(args):
...
@@ -1143,7 +1143,7 @@ def main(args):
if
global_step
>=
args
.
max_train_steps
:
if
global_step
>=
args
.
max_train_steps
:
break
break
# Create the pipeline using
using
the trained modules and save it.
# Create the pipeline using the trained modules and save it.
accelerator
.
wait_for_everyone
()
accelerator
.
wait_for_everyone
()
if
accelerator
.
is_main_process
:
if
accelerator
.
is_main_process
:
controlnet
=
unwrap_model
(
controlnet
)
controlnet
=
unwrap_model
(
controlnet
)
...
...
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