問題可以看這里,Tensorboard does not show any scalers or graphs
我在這個問題下更新了自己的回答,現(xiàn)在在博客里重新寫一遍适掰,方便中文使用者快速檢索到。
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后狞玛,發(fā)現(xiàn)沒有任何信息
But when I move to the directory /tmp/mnist/logs
, and run
tensorboard --logdir=mnist_with_summaries
It works!
但是移動到logs,在相對路徑下打開mnist_with_summaries涧窒,就能看到正常的scalar等信息