ml_logger.logger package¶
Submodules¶
ml_logger.logger.base module¶
Abstract logger class.
ml_logger.logger.filesystem module¶
Functions to interface with the filesystem.
-
class
ml_logger.logger.filesystem.
Logger
(config: Dict[str, Any])[source]¶ Bases:
ml_logger.logger.base.Logger
Logger class that writes to the filesystem.
ml_logger.logger.mlflow module¶
Logger class that writes to mlflow.
-
class
ml_logger.logger.mlflow.
Logger
(config: Dict[str, Any])[source]¶ Bases:
ml_logger.logger.base.Logger
Logger class that writes to mlflow.
-
write
(log: Dict[str, Any]) → None[source]¶ Write the log to mlflow.
- Parameters
log (LogType) – Log to write
-
ml_logger.logger.mongo module¶
Functions to interface with the mongodb.
-
class
ml_logger.logger.mongo.
Logger
(config: Dict[str, Any])[source]¶ Bases:
ml_logger.logger.base.Logger
Logger class that writes to the mongodb.
ml_logger.logger.tensorboard module¶
Logger class that writes to tensorboard.
-
class
ml_logger.logger.tensorboard.
Logger
(config: Dict[str, Any])[source]¶ Bases:
ml_logger.logger.base.Logger
Logger class that writes to tensorboardX.
-
write
(log: Dict[str, Any]) → None[source]¶ Write the log to tensorboard.
- Parameters
log (LogType) – Log to write
-
ml_logger.logger.wandb module¶
Logger class that writes to wandb.
-
class
ml_logger.logger.wandb.
Logger
(config: Dict[str, Any])[source]¶ Bases:
ml_logger.logger.base.Logger
Logger class that writes to wandb.
-
write
(log: Dict[str, Any]) → None[source]¶ Write log to wandb.
- Parameters
log (LogType) – Log to write
-