Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for config files (#402)
* Partially reverted 5a3bf5f * Added support for config files Specify a config file with --config. Command line parameters have precedence over the values read from the config file, as expected. The config file is a json serialization of the namespace returned by argparse, casted to a dictionary. The file args.json produced by the training can be used as config file. The config file does not need to be complete. Missing parameters will be read from the command line or will take default values. Additionally the functionality introduced in 5a3bf5f has been reimplemented, accessing the argument_definitions member of ConfigArgumentParser. * Added unit tests for config files * Addressed (most of) github comments * switch from json to yaml * changelog, minor version * Changed config file format to YAML * Typo * mypi * Added test overwriting config file argument with command line
- Loading branch information