pyraug.config¶
- class pyraug.config.BaseConfig[source]¶
This is the BaseConfig class which defines all the useful loading and saving methods of the configs
- classmethod from_dict(config_dict)[source]¶
Creates a
BaseConfig
instance from a dictionnary- Parameters
config_dict (dict) – The Python dictionnary containing all the parameters
- Returns
The created instance
- Return type
- classmethod from_json_file(json_path)[source]¶
Creates a
BaseConfig
instance from a JSON config file- Parameters
json_path (str) – The path to the json file containing all the parameters
- Returns
The created instance
- Return type