drytorch.trackers.tensorboard
Module containing a TensorBoard tracker.
Classes
|
Tracker that wraps the TensorBoard SummaryWriter. |
- class TensorBoard(par_dir: Path | None = None, start_server: bool = True, max_queue_size: int = 10, flush_secs: int = 120)[source]
Bases:
DumperTracker that wraps the TensorBoard SummaryWriter.
Initialize.
- Parameters:
- property writer: SummaryWriter
The active SummaryWriter instance.
- Raises:
AccessOutsideScopeError – if no run has been started yet.
- notify(event: Event) None[source]
- notify(event: StartExperimentEvent) None
- notify(event: MetricEvent) None
Notify the tracker of an event.
- Parameters:
event (Event) – the event to notify about.
- Return type:
None