Skip to content
Snippets Groups Projects
Commit b0f73db8 authored by Daniel Ecer's avatar Daniel Ecer
Browse files

don't swallow argument errors

parent 6d7a715d
No related branches found
No related tags found
No related merge requests found
......@@ -470,22 +470,22 @@ def run(model, argv):
parser = argparse.ArgumentParser()
parser.add_argument(
'--train_data_paths',
nargs='+',
type=str,
action='append',
help='The paths to the training data files. '
'Can be comma separated list of files or glob pattern.'
)
parser.add_argument(
'--eval_data_paths',
nargs='+',
type=str,
action='append',
help='The path to the files used for evaluation. '
'Can be comma separated list of files or glob pattern.'
)
parser.add_argument(
'--qualitative_data_paths',
nargs='+',
type=str,
action='append',
help='The path to the files used for qualitative evaluation. '
'You may choose a different set for the qualitative analysis to keep the results consistent.'
)
......@@ -627,7 +627,7 @@ def run(model, argv):
help='The random seed to use'
)
args, _ = parser.parse_known_args(argv)
args = parser.parse_args(argv)
env = json.loads(os.environ.get('TF_CONFIG', '{}'))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment