tensorboard.load_histograms

tensorboard.load_histograms(logdir, *, tags=None, runs=None)

Read the histograms of a TensorBoard log directory.

Parameters

Name Type Description Default
logdir str or os.PathLike The directory TensorBoard would be started with (--logdir). required
tags iterable of str Only these tags, in this order. A tag that no run logged is warned about. None
runs iterable of str Only these runs. A run that is not in logdir is warned about. None

Returns

Name Type Description
dict of str to dict of str to HistogramSeries Tag by tag, sorted unless tags gives the order, and within a tag run by run, sorted.

Raises

Name Type Description
FileNotFoundError If logdir is not a directory.