Skip to content

Commit ba72bdd

Browse files
committed
train.py: Change the default value for top-n option
Change the default value for the top-n option from two to three.
1 parent 9d72441 commit ba72bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def main(args):
194194
parser.add_argument('--batch-size', default=16384, type=int, help='Number of positions per batch / per iteration (default=16384)')
195195
parser.add_argument('--val-check-interval', default=2000, type=int, help='How often to check validation loss (default=2000)')
196196
parser.add_argument('--log', action='store_true', help='Enable logging during training')
197-
parser.add_argument('--top-n', default=2, type=int, help='Number of models to save for each epoch (default=2)')
197+
parser.add_argument('--top-n', default=3, type=int, help='Number of models to save for each epoch (default=3)')
198198
parser.add_argument('--resume',
199199
help='Resume training from an existing snapshot')
200200
args = parser.parse_args()

0 commit comments

Comments
 (0)