From 179b08e6a3cffedb885720282f727bea500f56da Mon Sep 17 00:00:00 2001 From: Chang Jo Kim Date: Tue, 10 Jul 2018 11:19:03 +0900 Subject: [PATCH] Fixed argument actions Former-commit-id: 7f855d53668a576236b16670fd052d8caf816d80 --- predict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/predict.py b/predict.py index 176e7a1..bb48e46 100755 --- a/predict.py +++ b/predict.py @@ -85,10 +85,10 @@ def get_args(): parser.add_argument('--viz', '-v', action='store_true', help="Visualize the images as they are processed", default=False) - parser.add_argument('--no-save', '-n', action='store_false', + parser.add_argument('--no-save', '-n', action='store_true', help="Do not save the output masks", default=False) - parser.add_argument('--no-crf', '-r', action='store_false', + parser.add_argument('--no-crf', '-r', action='store_true', help="Do not use dense CRF postprocessing", default=False) parser.add_argument('--mask-threshold', '-t', type=float,