add ja comment

This commit is contained in:
Kohya S
2023-03-27 20:47:27 +09:00
parent 066b1bb57e
commit 43a08b4061

View File

@@ -15,4 +15,4 @@ def apply_snr_weight(loss, timesteps, noise_scheduler, gamma):
return loss return loss
def add_custom_train_arguments(parser: argparse.ArgumentParser): def add_custom_train_arguments(parser: argparse.ArgumentParser):
parser.add_argument("--min_snr_gamma", type=float, default=None, help="gamma for reducing the weight of high loss timesteps. Lower numbers have stronger effect. 5 is recommended by paper.") parser.add_argument("--min_snr_gamma", type=float, default=None, help="gamma for reducing the weight of high loss timesteps. Lower numbers have stronger effect. 5 is recommended by paper. / 低いタイムステップでの高いlossに対して重みを減らすためのgamma値、低いほど効果が強く、論文では5が推奨")