#1:ubuntu
1)terminal:
directory: /.../tensorflow/1.py
/.../tensorflow$ python3 1.py
2) because writer = tf.summary.FileWriter("logs/", sess.graph)
directory:/.../tensorflow/logs/events.out.tfevents.1508552662.y-Lenovo
/.../tensorflow$ tensorboard--logdir='logs/'
TensorBoard0.1.8 at http://y-Lenovo:6006 (Press CTRL+C to quit)
3) copy link in google website,see graph.
#2:windows
Learning from:
https://stackoverflow.com/questions/41157645/tensorflow-tensorboard-on-windows-shows-a-blank-page
http://www.cnblogs.com/czcz1024/p/6993387.html
https://stackoverflow.com/questions/44175037/cant-open-tensorboard-0-0-0-06006-or-localhost6006
①If your summaries are in, e.g. "E:\tf\summaries", start cmd inwindows, then run "E:", then "tensorboard--logdir=\tf\summaries"
or
If your summaries are in, e.g. "E:\tf\summaries",start cmd in windows, "tensorboard--logdir=E:\tf\summaries"
Show” http://user-20171015ph:6006/”BUT,this way can not show any graph.
you can try:
I have found the solution:
Run tensorboard --logdir==training:log_dir--host=127.0.0.1 in command prompt, andtype http://127.0.0.1:6006 in qq brower, this works for me (Win7, python3.5.2,tensorflow).