Merge pull request #20 from changjo/patch-1

Fixed argument actions

Former-commit-id: 23e817310461f79888078a2a1ab4b2187a97dc88
This commit is contained in:
milesial 2018-07-10 13:17:51 +02:00 committed by GitHub
commit f991ffa23e

View file

@ -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,