-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
🚀 Feature
Add Trainer arguments in an argument groups, to allow for clearer command line help.
Motivation
The Trainer class already has a large number of arguments. When adding the arguments for a Model, DataModule and program level arguments the list of flags in the command line help is too long and confused to be useful.
Pitch
The Trainer arguments should be grouped within an arguments group using add_arument_group. In addition, the documentation for add_model_specific_args and similar functions should recommend using add_argument_group for grouping together the arguments of each part of the code in a sensible way.
Alternatives
I have explored switching to using a configuration file, specifically using Hydra, but I find that I like the ArgumentParser approach better for my use cases.