Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't open tensorboard 0.0.0.0:6006 or localhost:6006

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

like image 241
R.Wall Avatar asked May 25 '17 07:05

R.Wall


2 Answers

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).

like image 53
Johnson Lai Avatar answered Oct 24 '22 01:10

Johnson Lai


@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!

like image 13
Colin Wang Avatar answered Oct 24 '22 02:10

Colin Wang