Closed erip closed 4 years ago
Not sure, why the --threshold-loss-scale
and --min-loss-scale
are in get_parser
, maybe @myleott knows? The others that seem like they don't belong are included because they use the registry
. Is this something that is blocking you in someway or is causing an issue? Otherwise I'd probably just leave it alone since as you probably know from #1672, we are exploring the idea of an additional interface for the CLI
Not blocking me - mostly a curiosity thing.
Yeah, I think --threshold-loss-scale
, --min-loss-scale
and maybe a few others could be moved out of get_parser
, but those that appear due to the registry
will need to stay. Feel free to submit a PR if you'd like.
❓ Questions and Help
What is your question?
Some of the CLI options that are exposed for
-preprocess
,-train
, and so on seem inappropriate. For example, AMP, loss options, etc. seem like they should only be available at training time but are seen below:Code
N/A
What have you tried?
N/A
What's your environment?
pip
, source): sourcepip install -e .