when i use tensorboard in cmd with win10
D:\python document\tensorflow>tensorboard --logdir=D:\python document\tensorflow Starting TensorBoard b'47' at http://0.0.0.0:6006
But when i open the webpage,it shows
"dial tcp 0.0.0.0:6006: connectex: The requested address is not valid in its context."
and i tried localhost:6006 then,and it shows
"No scalar data was found."
so what should i do now
Refer to tensorflow issue#9701.
Run tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1
in command prompt,
and type localhost:6006
in chrome, this works for me (Win10, anaconda4.3.16, python3.5.3, tensorflow1.1.0).
@Johnson Lai's solution( tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1
) is works, just add --host=127.0.0.1
at the command tail.
but you shoud replace log_dir
with your own log dir
.
tips: in log dir
, log file(folder) likes run-20180422085300
.
here is my test!
launch your cmd in anywhrer:
run commond tensorboard --logdir [your log dir] --host=127.0.0.1
or
launch your cmd with log dir, or commond cd [your log dir]
run commond tensorboard --logdir ./ --host=127.0.0.1
I prefer the second method!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With