Skip to content
Snippets Groups Projects
Commit 482340c1 authored by Elias Werner's avatar Elias Werner
Browse files

Clarify Tensorboard from JH, reading log data

parent ddade55e
No related branches found
No related tags found
2 merge requests!661Automated merge from preview to main,!651Clarify Tensorboard from JH, reading log data
...@@ -6,13 +6,15 @@ application. ...@@ -6,13 +6,15 @@ application.
## Using JupyterHub ## Using JupyterHub
The easiest way to use TensorBoard is via [JupyterHub](../access/jupyterhub.md). The default The easiest way to use TensorBoard is via [JupyterHub](../access/jupyterhub.md). By default,
TensorBoard log directory is set to `/tmp/<username>/tf-logs` on the compute node, where Jupyter TensorBoard is configured to read log data from `/tmp/<username>/tf-logs` on the compute node on
session is running. In order to show your own directory with logs, it can be soft-linked to the which the Jupyter session is running. In order to show your own log data from a different directory,
default folder. Open a "New Launcher" menu (`Ctrl+Shift+L`) and select "Terminal" session. It soft-link this directory with `/tmp/<username>/tf-logs` in order to make TensorBoard reading your
will start new terminal on the respective compute node. Create a directory `/tmp/$USER/tf-logs` log data. Note, that the directory `/tmp/<username>/tf-logs` might not exist and you have to
and link it with your log directory create it first. Therefore, open a "New Launcher" (`Ctrl+Shift+L`) and select "Terminal" session.
`ln -s <your-tensorboard-target-directory> <local-tf-logs-directory>` It will start a new terminal on the respective compute node. Then you can create the directory
`/tmp/<username>/tf-logs` and link it with the directory where your own log data is located.
Consider the following commands to do so:
```Bash ```Bash
mkdir -p /tmp/$USER/tf-logs mkdir -p /tmp/$USER/tf-logs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment