gunz_ml.loggers package
- gunz_ml.loggers.init_logger(logger_cfg: Dict[str, Dict[str, Any]], name: str = None, tags: List[str] = None) Any | None[source]
Initialize a logger based on the provided configuration.
- Parameters:
- Returns:
logger – An instance of the logger class or None if the logger configuration is None.
- Return type:
Any or None
Notes
This function supports multiple types of loggers, including DummyLogger, CSVLogger, MLFlowLogger, ModMLFlowLogger, TensorBoardLogger, and WandbLogger.