问题
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/.
回答3:
It seems that just declaring it like this is ok:
writter = SummaryWritter(logdir='/runs/you_tag')
Then tensorboard will create this you_tag
folder below runs/
, in the meantime, the web application will refresh and find you_tag
.
来源:https://stackoverflow.com/questions/36182380/how-do-display-different-runs-in-tensorboard