drytorch.trackers.plotly
Module containing a plotter class using plotly.
Classes
|
Tracker that creates new plots each call (no update) using plotly. |
- class PlotlyPlotter(model_names: Iterable[str] = (), source_names: Iterable[str] = (), metric_names: Iterable[str] = (), start: int = 1, metric_loader: MetricLoader | None = None)[source]
Bases:
BasePlotter[Figure]Tracker that creates new plots each call (no update) using plotly.
Initialize.
- Parameters:
model_names (Iterable[str]) – the names of the models to plot. Defaults to all.
source_names (Iterable[str]) – the names of the sources to plot. Defaults to all.
metric_names (Iterable[str]) – the names of the metrics to plot. Defaults to all.
start (int) – if positive, the epoch from which to start plotting; if negative, the last number of epochs. Defaults to all.
metric_loader (MetricLoader | None) – a tracker that can load metrics from a previous run.
Note
start_epoch allows you to exclude the initial epochs from the graph. During the first 2 * start_epoch epochs, the graph is shown in its entirety.