diff options
Diffstat (limited to 'train_ti.py')
| -rw-r--r-- | train_ti.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/train_ti.py b/train_ti.py index 7d1ef19..7f93960 100644 --- a/train_ti.py +++ b/train_ti.py | |||
| @@ -125,11 +125,6 @@ def parse_args(): | |||
| 125 | action="store_true", | 125 | action="store_true", |
| 126 | ) | 126 | ) |
| 127 | parser.add_argument( | 127 | parser.add_argument( |
| 128 | "--guidance_scale", | ||
| 129 | type=float, | ||
| 130 | default=0, | ||
| 131 | ) | ||
| 132 | parser.add_argument( | ||
| 133 | "--num_class_images", | 128 | "--num_class_images", |
| 134 | type=int, | 129 | type=int, |
| 135 | default=0, | 130 | default=0, |
| @@ -852,7 +847,6 @@ def main(): | |||
| 852 | dtype=weight_dtype, | 847 | dtype=weight_dtype, |
| 853 | seed=args.seed, | 848 | seed=args.seed, |
| 854 | compile_unet=args.compile_unet, | 849 | compile_unet=args.compile_unet, |
| 855 | guidance_scale=args.guidance_scale, | ||
| 856 | prior_loss_weight=args.prior_loss_weight if args.num_class_images != 0 else 0, | 850 | prior_loss_weight=args.prior_loss_weight if args.num_class_images != 0 else 0, |
| 857 | no_val=args.valid_set_size == 0, | 851 | no_val=args.valid_set_size == 0, |
| 858 | strategy=textual_inversion_strategy, | 852 | strategy=textual_inversion_strategy, |
| @@ -923,7 +917,6 @@ def main(): | |||
| 923 | batch_size=args.train_batch_size, | 917 | batch_size=args.train_batch_size, |
| 924 | tokenizer=tokenizer, | 918 | tokenizer=tokenizer, |
| 925 | class_subdir=args.class_image_dir, | 919 | class_subdir=args.class_image_dir, |
| 926 | with_guidance=args.guidance_scale != 0, | ||
| 927 | num_class_images=args.num_class_images, | 920 | num_class_images=args.num_class_images, |
| 928 | size=args.resolution, | 921 | size=args.resolution, |
| 929 | num_buckets=args.num_buckets, | 922 | num_buckets=args.num_buckets, |
