h0rton.configs

Package Contents

Classes

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

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

classmethod from_file(cls, user_cfg_path)

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)

Check to see if the user-defined config is valid

preset_default(self)

Preset default config values

set_monitoring_cfg(self)

Set general metadata relevant to network architecture and optimization

class h0rton.configs.TestConfig(user_cfg)[source]

Nested dictionary representing the configuration for h0_inference

classmethod from_file(cls, user_cfg_path)

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