Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbds committed Sep 25, 2024
1 parent e3812ce commit 5747c20
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions library/train_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3328,19 +3328,19 @@ def int_or_float(value):
help='additional arguments for optimizer (like "weight_decay=0.01 betas=0.9,0.999 ...") / オプティマイザの追加引数(例: "weight_decay=0.01 betas=0.9,0.999 ...")',
)

# parser.add_argument(
# "--optimizer_schedulefree_wrapper",
# action="store_true",
# help="use schedulefree_wrapper any optimizer / 任意のオプティマイザにschedulefree_wrapperを使用",
# )
parser.add_argument(
"--optimizer_schedulefree_wrapper",
action="store_true",
help="use schedulefree_wrapper any optimizer / 任意のオプティマイザにschedulefree_wrapperを使用",
)

# parser.add_argument(
# "--schedulefree_wrapper_args",
# type=str,
# default=None,
# nargs="*",
# help='additional arguments for schedulefree_wrapper (like "momentum=0.9 weight_decay_at_y=0.1 ...") / オプティマイザの追加引数(例: "momentum=0.9 weight_decay_at_y=0.1 ...")',
# )
parser.add_argument(
"--schedulefree_wrapper_args",
type=str,
default=None,
nargs="*",
help='additional arguments for schedulefree_wrapper (like "momentum=0.9 weight_decay_at_y=0.1 ...") / オプティマイザの追加引数(例: "momentum=0.9 weight_decay_at_y=0.1 ...")',
)

parser.add_argument("--lr_scheduler_type", type=str, default="", help="custom scheduler module / 使用するスケジューラ")
parser.add_argument(
Expand Down

0 comments on commit 5747c20

Please sign in to comment.