Skip to content

Commit

Permalink
Update args to validation_seed and validation_split
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO committed Nov 5, 2023
1 parent 3de9e6c commit a93c524
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions train_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,12 +1099,17 @@ def setup_parser() -> argparse.ArgumentParser:
action="store_true",
help="do not use fp16/bf16 VAE in mixed precision (use float VAE) / mixed precisionでも fp16/bf16 VAEを使わずfloat VAEを使う",
)

parser.add_argument(
"--validation_ratio",
"--validation_seed",
type=int,
default=None,
help="Validation seed"
)
parser.add_argument(
"--validation_split",
type=float,
default=0.0,
help="Ratio for validation images out of the training dataset"
help="Split for validation images out of the training dataset"
)

return parser
Expand Down

0 comments on commit a93c524

Please sign in to comment.