From 89f7a82157297f32ca12283c0badbc5b50bb5224 Mon Sep 17 00:00:00 2001 From: Chenghao MOU Date: Wed, 13 Nov 2019 03:03:38 -0800 Subject: [PATCH] Escape percentage symbol in argparse (#499) --- pytorch_lightning/utilities/arg_parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/utilities/arg_parse.py b/pytorch_lightning/utilities/arg_parse.py index 73843e52..afafc925 100644 --- a/pytorch_lightning/utilities/arg_parse.py +++ b/pytorch_lightning/utilities/arg_parse.py @@ -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: