Shortcuts

ride.logging

Module Contents

Classes

ResultsLogger

Functions

singleton_experiment_logger(→ ExperimentLoggerCreator)

fig2img(fig)

Convert a Matplotlib figure to a PIL Image and return it

add_experiment_logger(...)

get_log_dir(module)

log_figures(module, d)

Attributes

logger

ExperimentLogger

ExperimentLoggerCreator

experiment_logger

StepOutputs

ride.logging.logger[source]
ride.logging.ExperimentLogger[source]
ride.logging.ExperimentLoggerCreator[source]
ride.logging.singleton_experiment_logger() ExperimentLoggerCreator[source]
ride.logging.experiment_logger[source]
ride.logging.fig2img(fig)[source]

Convert a Matplotlib figure to a PIL Image and return it

ride.logging.add_experiment_logger(prev_logger: pytorch_lightning.loggers.LightningLoggerBase, new_logger: pytorch_lightning.loggers.LightningLoggerBase) pytorch_lightning.loggers.LoggerCollection[source]
ride.logging.get_log_dir(module: pytorch_lightning.LightningModule)[source]
ride.logging.log_figures(module: pytorch_lightning.LightningModule, d: ride.metrics.FigureDict)[source]
class ride.logging.ResultsLogger(prefix='test', save_to: str = None)[source]

Bases: pytorch_lightning.loggers.LightningLoggerBase

property experiment[source]
property save_dir: Optional[str][source]
property name[source]
property version[source]
_fix_name_perfix(s: str, replace='test/') str[source]
log_hyperparams(params)[source]
log_metrics(metrics: Dict, step)[source]
log_figure(tag: str, fig: matplotlib.figure.Figure)[source]
finalize(status)[source]
ride.logging.StepOutputs[source]
Read the Docs v: stable
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.