summaryrefslogtreecommitdiffstats
path: root/train_dreambooth.py
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-03-03 18:53:15 +0100
committerVolpeon <git@volpeon.ink>2023-03-03 18:53:15 +0100
commite32b4d4c04a31b22051740e5f26e16960464f787 (patch)
tree9fc842453e4974b936e64b4f012acfef726a8e51 /train_dreambooth.py
parentLow freq noise with randomized strength (diff)
downloadtextual-inversion-diff-e32b4d4c04a31b22051740e5f26e16960464f787.tar.gz
textual-inversion-diff-e32b4d4c04a31b22051740e5f26e16960464f787.tar.bz2
textual-inversion-diff-e32b4d4c04a31b22051740e5f26e16960464f787.zip
Implemented different noise offset
Diffstat (limited to 'train_dreambooth.py')
-rw-r--r--train_dreambooth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/train_dreambooth.py b/train_dreambooth.py
index 6d699f3..8571dff 100644
--- a/train_dreambooth.py
+++ b/train_dreambooth.py
@@ -438,7 +438,7 @@ def main():
438 438
439 accelerator = Accelerator( 439 accelerator = Accelerator(
440 log_with=LoggerType.TENSORBOARD, 440 log_with=LoggerType.TENSORBOARD,
441 logging_dir=f"{output_dir}", 441 project_dir=f"{output_dir}",
442 mixed_precision=args.mixed_precision 442 mixed_precision=args.mixed_precision
443 ) 443 )
444 444
@@ -526,7 +526,7 @@ def main():
526 with_prior_preservation=args.num_class_images != 0, 526 with_prior_preservation=args.num_class_images != 0,
527 prior_loss_weight=args.prior_loss_weight, 527 prior_loss_weight=args.prior_loss_weight,
528 no_val=args.valid_set_size == 0, 528 no_val=args.valid_set_size == 0,
529 # low_freq_noise=0, 529 # noise_offset=0,
530 ) 530 )
531 531
532 checkpoint_output_dir = output_dir / "model" 532 checkpoint_output_dir = output_dir / "model"