spokenlanguage / platalea

Library for training visually-grounded models of spoken language understanding.
Apache License 2.0
3 stars 1 forks source link

No help message when mandatory argument is missing. #115

Open bhigy opened 3 years ago

bhigy commented 3 years ago

PlataleaConfig deactivates the help message by default and has a method called enable_help() to reactivate it. The way it is implemented now, arguments are parsed first and we check for the presence of the flag -h. However, if mandatory arguments aren't provided, parsing will fail and send an error message before we get a chance to trigger the help message.

This issue can be replicated by, e.g., running following command:

python -m platalea.utils.evaluate_net -h
egpbos commented 3 years ago

Related to #62

egpbos commented 3 years ago

As discussed during Teams meeting: