From 31c5e6e5803224a1c20d1a8bd78f5240ee8b1dd2 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 10 Feb 2020 17:10:29 -0800 Subject: [PATCH] train: make --save required Rather than saving in a random location --- genienlp/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genienlp/arguments.py b/genienlp/arguments.py index e67dd094..d6a60e3c 100644 --- a/genienlp/arguments.py +++ b/genienlp/arguments.py @@ -55,7 +55,7 @@ def parse_argv(parser): parser.add_argument('--root', default='.', type=str, help='root directory for data, results, embeddings, code, etc.') parser.add_argument('--data', default='.data/', type=str, help='where to load data from.') - parser.add_argument('--save', default='results', type=str, help='where to save results.') + parser.add_argument('--save', required=True, type=str, help='where to save results.') parser.add_argument('--embeddings', default='.embeddings', type=str, help='where to save embeddings.') parser.add_argument('--cache', default='.cache/', type=str, help='where to save cached files')