diff options
Diffstat (limited to 'train_dreambooth.py')
| -rw-r--r-- | train_dreambooth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/train_dreambooth.py b/train_dreambooth.py index 4c1ec31..5a7911c 100644 --- a/train_dreambooth.py +++ b/train_dreambooth.py | |||
| @@ -375,7 +375,7 @@ def parse_args(): | |||
| 375 | parser.add_argument( | 375 | parser.add_argument( |
| 376 | "--sample_steps", | 376 | "--sample_steps", |
| 377 | type=int, | 377 | type=int, |
| 378 | default=20, | 378 | default=10, |
| 379 | help="Number of steps for sample generation. Higher values will result in more detailed samples, but longer runtimes.", | 379 | help="Number of steps for sample generation. Higher values will result in more detailed samples, but longer runtimes.", |
| 380 | ) | 380 | ) |
| 381 | parser.add_argument( | 381 | parser.add_argument( |
| @@ -511,6 +511,7 @@ def main(): | |||
| 511 | dtype=weight_dtype, | 511 | dtype=weight_dtype, |
| 512 | with_prior_preservation=args.num_class_images != 0, | 512 | with_prior_preservation=args.num_class_images != 0, |
| 513 | prior_loss_weight=args.prior_loss_weight, | 513 | prior_loss_weight=args.prior_loss_weight, |
| 514 | no_val=args.valid_set_size == 0, | ||
| 514 | ) | 515 | ) |
| 515 | 516 | ||
| 516 | checkpoint_output_dir = output_dir / "model" | 517 | checkpoint_output_dir = output_dir / "model" |
