Config class¶
-
class
config.
Config
[source]¶ Class to handle configuration from input file and command line args.
Methods
This method generates default config variables.
getArgs
()Get the command line configuration.
Get the input configuration.
Set up the argument parser with a few additions to handle multi-node training.
Parse the configuration from the input yaml file.
Print out the configuration.
set
(key, val)Add new variables to the configuration.
-
defaultConfig
()[source]¶ This method generates default config variables. Any new variables meant to go in the YAML config file should go here as well. One should use the set() method.
-