facebookresearch/fairseq

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

Open

#3 403 ouverte le 26 mars 2021

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (6 224 forks)batch import
enhancementhelp wantedneeds triagestale

Métriques du dépôt

Stars
 (29 107 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Alternatives

Additional context

Guide contributeur