Fix typo in train_dreambooth_inpaint (#1885)
Fix typo in train_dreambooth_inpaint.
This commit is contained in:
parent
21bbc633c4
commit
f769d74b0f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue