Google Cloud Platform access tensorboard

2019-02-27 05:08发布

问题:

I am new to Google Cloud (and unix) and have been using ml-engine to train a neural net using Tensorflow.

Here it says that you can monitor the app using tensorboard. How can I access the tensorboard panel? When I run it (from the Cloud Shell Access console) it says it's running at http://0.0.0.0:6006

I don't know the IP of the Cloud Shell console, how can I access the tensorboard panel?

The command I run (and output):

tensorboard --logdir=gs://model_output
Starting TensorBoard 47 at http://0.0.0.0:6006

Thanks!

回答1:

The easiest is to adjust your command to: tensorboard --logdir=gs://model_output --port=8080

E.g. adding --port=8080 to your command, which allows you to just use the default Web Preview option of Cloud Shell