facebookresearch/fairseq

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

Open

#3,403 opened on 2021幎3月26日

GitHub で芋る
 (1 comment) (0 reactions) (0 assignees)Python (6,224 forks)batch import
enhancementhelp wantedneeds triagestale

Repository metrics

Stars
 (29,107 stars)
PR merge metrics
 (30d に merged PR はありたせん)

説明

🚀 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

コントリビュヌタヌガむド