Fix lr-scaling store_true & default=True cli argument for textual_inversion training. (#1090)

Fix default lr-scaling cli argument
This commit is contained in:
Alex Redden
2023-01-04 09:43:41 -05:00
committed by GitHub
parent 856331c61b
commit 19a0ce4a47
@@ -164,7 +164,7 @@ def parse_args():
parser.add_argument( parser.add_argument(
"--scale_lr", "--scale_lr",
action="store_true", action="store_true",
default=True, default=False,
help="Scale the learning rate by the number of GPUs, gradient accumulation steps, and batch size.", help="Scale the learning rate by the number of GPUs, gradient accumulation steps, and batch size.",
) )
parser.add_argument( parser.add_argument(