facebookresearch/fairseq

`fairseq_cli/*.py` should report a more specific error for unrecognized CLI arguments

Open

#3403 aperta il 26 mar 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (6224 fork)batch import
enhancementhelp wantedneeds triagestale

Metriche repository

Star
 (29.107 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

🚀 Feature Request

Right now, the error prints the entire command almost as is. Instead, try to parse and let argparse print a more specific error for wrong or missing flags.

Motivation

The current behavior is frustrating for debugging :(

Pitch

See ## Feature Request

Alternatives

Additional context

Guida contributor