How do display different runs in TensorBoard?

2019-01-14 00:50发布

问题:

TensorBoard seems to have a feature to display multiple different runs and toggle them.

How can I make multiple runs show up here and how can assign a name to them to differentiate them?

回答1:

In addition to TensorBoard scanning subdirectories (so you can pass a directory containing the directories with your runs), you can also pass multiple directories to TensorBoard explicitly and give custom names (example taken from the --help output):

tensorboard --logdir=name1:/path/to/logs/1,name2:/path/to/logs/2

More information can be found at the TensorBoard documentation.



回答2:

I found the answer to my own question on github (https://github.com/tensorflow/tensorflow/issues/1548).

You need to put your logs in a subfolder e.g. /logs/run1/ and then run tensorboard on the root folder e.g. /logs/.