tensorboard.load_embeddings
tensorboard.load_embeddings(logdir)Read the embeddings a Projector log directory configures.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| logdir | str or os.PathLike | The directory holding projector_config.pbtxt. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| list of Embedding | One per embeddings block of the config whose vectors could be read. One that cannot be – a checkpoint without TensorFlow installed, or a file that is missing – is warned about and left out. |
Raises
| Name | Type | Description |
|---|---|---|
| FileNotFoundError | If logdir holds no projector_config.pbtxt. |