tensorboard.load_hparams
tensorboard.load_hparams(logdir)Read the sessions of a hyperparameter sweep.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| logdir | str or os.PathLike | The directory TensorBoard would be started with (--logdir), as the HParams plugin’s hp.hparams_config and hp.hparams wrote it. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| list of Session | One per run that logged hp.hparams, by run name. The metrics are the ones the experiment declares, when hp.hparams_config wrote one, and otherwise every scalar the session’s runs logged. |
Raises
| Name | Type | Description |
|---|---|---|
| FileNotFoundError | If logdir is not a directory. |