Escape percentage symbol in argparse (#499)

This commit is contained in:
Chenghao MOU
2019-11-13 06:03:38 -05:00
committed by William Falcon
parent 7aaaefc4d9
commit 89f7a82157
+1 -1
View File
@@ -81,7 +81,7 @@ def add_default_args(parser, root_dir, rand_seed=None, possible_model_names=None
parser.add_argument('--enable_tqdm', dest='enable_tqdm', default=False, action='store_true',
help='false removes the progress bar')
parser.add_argument('--overfit', default=-1, type=float,
help='% of dataset to use with this option. float, or -1 for none')
help='%% of dataset to use with this option. float, or -1 for none')
# debug args
if rand_seed is not None: