Skip to content

Commit 2c29830

Browse files
Merge pull request #240 from NatalieHanzhina/main
Accelerator issue is fixed
2 parents 2933b6b + b320b59 commit 2c29830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/dreambooth/train_dreambooth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def main(args):
426426
gradient_accumulation_steps=args.gradient_accumulation_steps,
427427
mixed_precision=args.mixed_precision,
428428
log_with="tensorboard",
429-
logging_dir=logging_dir,
429+
project_dir=logging_dir,
430430
)
431431

432432
logging.basicConfig(
@@ -866,4 +866,4 @@ def save_weights(step):
866866

867867
if __name__ == "__main__":
868868
args = parse_args()
869-
main(args)
869+
main(args)

0 commit comments

Comments
 (0)