setup_logging

class maze.utils.log_stats_utils.setup_logging(job_config: Optional[Union[omegaconf.DictConfig, str]], log_dir: str = '.')

Setup tensorboard logging, derive the logging directory from the script name.

Parameters
  • job_config – Configuration written as text to tensorboard (experiment config).

  • log_dir – log_dir for TensorBoard.