From f4852b43debabd7d303e34e8155ba2adcbaa6e7b Mon Sep 17 00:00:00 2001 From: Yanghoon Kim Date: Fri, 10 Apr 2020 18:58:32 +0900 Subject: [PATCH] Update train_rnnlm.py Lack of default value --- lang/train_rnnlm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/train_rnnlm.py b/lang/train_rnnlm.py index d83d89c..95f82be 100644 --- a/lang/train_rnnlm.py +++ b/lang/train_rnnlm.py @@ -39,7 +39,7 @@ parser.add_argument('--num_epochs', default=15, type=int) parser.add_argument('--lr', default=1, type=float) parser.add_argument('--max_grad_norm', default=5, type=float) -parser.add_argument('--test', default=, type=int) +parser.add_argument('--test', default=0, type=int) parser.add_argument('--gpu', default=2, type=int) parser.add_argument('--seed', default=3435, type=int) parser.add_argument('--print_every', type=int, default=500)