eta_ctrl.common.logging module
- eta_ctrl.common.logging.log_to_file(config: Config, config_run: ConfigRun) None[source]
Log output in terminal to the run_info file.
- Parameters:
config – Configuration to figure out the logging settings.
config_run – Configuration for this optimization run.
- eta_ctrl.common.logging.log_run_info(config: Config, config_run: ConfigRun) None[source]
Save run configuration to the run_info file.
- Parameters:
config – Configuration for the framework.
config_run – Configuration for this optimization run.
- eta_ctrl.common.logging.log_net_arch(model: BaseAlgorithm, config_run: ConfigRun) None[source]
Store network architecture or policy information in a file. This requires for the model to be initialized, otherwise it will raise a ValueError.
- Parameters:
model – The algorithm whose network architecture is stored.
config_run – Optimization run configuration (which contains info about the file to store info in).
- Raises:
ValueError.