How do display different runs in TensorBoard?

我们两清 提交于 2019-11-27 04:17:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!