facebookresearch/fairseq
View on GitHub`fairseq_cli/*.py` should report a more specific error for unrecognized CLI arguments
Open
#3,403 opened on Mar 26, 2021
enhancementhelp wantedneeds triagestale
Repository metrics
- Stars
- (29,107 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
🚀 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