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
OpenDAS
diffusers
Commits
f769d74b
Unverified
Commit
f769d74b
authored
Jan 02, 2023
by
Pedro Cuenca
Committed by
GitHub
Jan 02, 2023
Browse files
Fix typo in train_dreambooth_inpaint (#1885)
Fix typo in train_dreambooth_inpaint.
parent
21bbc633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint.py
...h_projects/dreambooth_inpaint/train_dreambooth_inpaint.py
+1
-1
No files found.
examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint.py
View file @
f769d74b
...
@@ -672,7 +672,7 @@ def main():
...
@@ -672,7 +672,7 @@ def main():
progress_bar
=
tqdm
(
range
(
global_step
,
args
.
max_train_steps
),
disable
=
not
accelerator
.
is_local_main_process
)
progress_bar
=
tqdm
(
range
(
global_step
,
args
.
max_train_steps
),
disable
=
not
accelerator
.
is_local_main_process
)
progress_bar
.
set_description
(
"Steps"
)
progress_bar
.
set_description
(
"Steps"
)
for
epoch
in
range
(
first_epoch
,
args
.
num_epochs
):
for
epoch
in
range
(
first_epoch
,
args
.
num_
train_
epochs
):
unet
.
train
()
unet
.
train
()
for
step
,
batch
in
enumerate
(
train_dataloader
):
for
step
,
batch
in
enumerate
(
train_dataloader
):
# Skip steps until we reach the resumed step
# Skip steps until we reach the resumed step
...
...
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