问题可以看这里,Tensorboard does not show any scalers or graphs
我在这个问题下更新了自己的回答,现在在博客里重新写一遍,方便中文使用者快速检索到。
Same issue, mac 10.11, python3.5, TF 1.1.0.
Solved by moving to the specific directory.
After I run
python tensorflow-1.1.0/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
I got two floder named train
and test
under the /tmp/mnist/logs/mnist_with_summaries
.
train
and test
contains tf event file. Then I run
tensorboard --logdir=/tmp/mnist/logs/mnist_with_summaries
After opening the browser, there are no scalars at all.
简单的说,就是用绝对路径打开tensorboard后,发现没有任何信息
But when I move to the directory /tmp/mnist/logs
, and run
tensorboard --logdir=mnist_with_summaries
It works!
但是移动到logs,在相对路径下打开mnist_with_summaries,就能看到正常的scalar等信息