Missed clip-mode arg for repo train script

pull/437/head
Ross Wightman 4 years ago
parent 4f49b94311
commit 01653db104

@ -116,7 +116,8 @@ parser.add_argument('--weight-decay', type=float, default=0.0001,
help='weight decay (default: 0.0001)')
parser.add_argument('--clip-grad', type=float, default=None, metavar='NORM',
help='Clip gradient norm (default: None, no clipping)')
parser.add_argument('--clip-mode', type=str, default='norm',
help='Gradient clipping mode. One of ("norm", "value", "agc")')
# Learning rate schedule parameters

Loading…
Cancel
Save