Unable to open Tensorboard in browser

2019-03-16 14:43发布

I am following google cloud machine learning tutorial and I am unable to Launch TensorBoard

I've followed the steps in the above tutorial (also set up my environment using docker container) until typing the below command in the terminal

tensorboard --logdir=data/ --port=8080

Where the terminal outputs the below prompt

Starting TensorBoard 29 on port 8080
(You can navigate to http://172.17.0.2:8080)

When I visit http://172.17.0.2:8080 in my browser I see nothing (the server where this page is located is not responding).

Can someone please advice how I can launch Tensor Board ?

5条回答
来,给爷笑一个
2楼-- · 2019-03-16 15:15

It looks like the port 8080 is not open on your machine.
You can check it with this command line tool: netstat -a.

To open a specific port on google cloud platform, see this answer from SO.

查看更多
Rolldiameter
3楼-- · 2019-03-16 15:15

If you are using Google Cloud Shell you have to click on icon placed in upper left of shell window.

查看更多
看我几分像从前
4楼-- · 2019-03-16 15:20

Had the same problem this morning. Solved it with

tensorboard --logdir=data/ --host localhost --port 8088

Navigated the browser to http://localhost:8088

查看更多
手持菜刀,她持情操
5楼-- · 2019-03-16 15:26

as stated by 'rodrigo-silveira'

tensorboard --logdir=data/ --host localhost --port 8088

this works for me as well. just change the name of graph directory. here the directory is data/

writer = tf.summary.FileWriter( 'logs', sess.graph )

here, the directory is logs, so when I typed below command in cmd, below window appeared.

tensorboard --logdir=data/ --host localhost --port 8088

this is the window pop up

查看更多
可以哭但决不认输i
6楼-- · 2019-03-16 15:33

I don't know if that's the case, but tensorboard has some visualization problems in several browsers. Try to connect to http://172.17.0.2:8080 with a different browser (for example, on my macbook, safari doesn't work very well with tensorboard and I use google Chrome).

查看更多
登录 后发表回答