h0rton.configs.train_val_config

Module Contents

Classes

TrainValConfig Nested dictionary representing the configuration for H0rton training, h0_inference, visualization, and analysis
class h0rton.configs.train_val_config.TrainValConfig(user_cfg)[source]

Nested dictionary representing the configuration for H0rton training, h0_inference, visualization, and analysis

classmethod from_file(cls, user_cfg_path)[source]

Alternative constructor that accepts the path to the user-defined configuration python file

user_cfg_path : str or os.path object
path to the user-defined configuration python file
validate_user_definition(self)[source]

Check to see if the user-defined config is valid

preset_default(self)[source]

Preset default config values

set_monitoring_cfg(self)[source]

Set general metadata relevant to network architecture and optimization