Closed kmilos closed 1 year ago
Boolean option switches are always set to True by default whenever they're present on the command line, regardless of the specified value, i.e. --post-process False has no effect, so the default action has to be changed somehow. See e.g. https://stackoverflow.com/questions/50954491/python-argparse-how-to-pass-false-from-the-command-line
--post-process False
I guess the same goes for --save-weights and --multi-scale that are bool switches defaulted to True...
--save-weights
--multi-scale
Thanks for your comment. Yes i know this issue but forgot to fix it. store_true should fix it or setting their default values to false.
Boolean option switches are always set to True by default whenever they're present on the command line, regardless of the specified value, i.e.
--post-process False
has no effect, so the default action has to be changed somehow. See e.g. https://stackoverflow.com/questions/50954491/python-argparse-how-to-pass-false-from-the-command-lineI guess the same goes for
--save-weights
and--multi-scale
that are bool switches defaulted to True...