| """ | |
| Monitoring Config | |
| Specifies the monitoring process, e.g. how to log metrics and keep track of training progress. | |
| """ | |
| from dataclasses import dataclass, field | |
| class LoggingConfig: | |
| log_level: str = "INFO" | |
| log_every_n_steps: int = 100 | |
| class WandbConfig: | |
| # configure logging to Weights and Biases | |
| project: str = "" | |
| entity: str = "" | |
| class MonitoringConfig: | |
| logging: LoggingConfig = field(default_factory=LoggingConfig) | |
| # Weights and Biases | |
| save_to_wandb: bool = False | |
| wandb: WandbConfig = field(default_factory=WandbConfig) | |