Fixed argument actions
Former-commit-id: 7f855d53668a576236b16670fd052d8caf816d80
This commit is contained in:
parent
14e0ff1c62
commit
179b08e6a3
|
@ -85,10 +85,10 @@ def get_args():
|
||||||
parser.add_argument('--viz', '-v', action='store_true',
|
parser.add_argument('--viz', '-v', action='store_true',
|
||||||
help="Visualize the images as they are processed",
|
help="Visualize the images as they are processed",
|
||||||
default=False)
|
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",
|
help="Do not save the output masks",
|
||||||
default=False)
|
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",
|
help="Do not use dense CRF postprocessing",
|
||||||
default=False)
|
default=False)
|
||||||
parser.add_argument('--mask-threshold', '-t', type=float,
|
parser.add_argument('--mask-threshold', '-t', type=float,
|
||||||
|
|
Loading…
Reference in a new issue