facebookresearch/fairseq

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

Open

#3,403 建立於 2021年3月26日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (6,224 fork)batch import
enhancementhelp wantedneeds triagestale

倉庫指標

Star
 (29,107 star)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南