From 29baf32327cd1a1f7ae50d1b6b331b446698e883 Mon Sep 17 00:00:00 2001 From: hova88 <84240614@qq.com> Date: Fri, 28 Oct 2022 09:30:51 +0800 Subject: [PATCH] fix typo : miss back quote --- train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train.py b/train.py index e004881d..d106f3dc 100755 --- a/train.py +++ b/train.py @@ -145,7 +145,7 @@ group.add_argument('--grad-checkpointing', action='store_true', default=False, # Optimizer parameters group = parser.add_argument_group('Optimizer parameters') group.add_argument('--opt', default='sgd', type=str, metavar='OPTIMIZER', - help='Optimizer (default: "sgd"') + help='Optimizer (default: "sgd")') group.add_argument('--opt-eps', default=None, type=float, metavar='EPSILON', help='Optimizer Epsilon (default: None, use opt default)') group.add_argument('--opt-betas', default=None, type=float, nargs='+', metavar='BETA', @@ -210,7 +210,7 @@ group.add_argument('--warmup-prefix', action='store_true', default=False, group.add_argument('--cooldown-epochs', type=int, default=0, metavar='N', help='epochs to cooldown LR at min_lr, after cyclic schedule ends') group.add_argument('--patience-epochs', type=int, default=10, metavar='N', - help='patience epochs for Plateau LR scheduler (default: 10') + help='patience epochs for Plateau LR scheduler (default: 10)') group.add_argument('--decay-rate', '--dr', type=float, default=0.1, metavar='RATE', help='LR decay rate (default: 0.1)')