deeperwin.loggers.DataLogger
- class deeperwin.loggers.DataLogger(config: deeperwin.configuration.LoggerBaseConfig, name, save_path='.')[source]
Bases:
abc.ABC
Abstract class representing a generic data logger to store configs and metrics during wavefunction optimization.
Specific implementations include logging to a log-file, logging a full history to a binary file, and logging to web-services such as Weights & Biases.
- __init__(config: deeperwin.configuration.LoggerBaseConfig, name, save_path='.')[source]
Methods
__init__
(config, name[, save_path])log_checkpoint
(n_epoch[, params, ...])log_config
(config)log_metric
(key, value[, epoch, metric_type, ...])log_metrics
(metrics[, epoch, metric_type, ...])log_param
(key, value)log_params
(params)log_tags
(tags)on_run_begin
()on_run_end
()