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 environme
you have to change port to the tensorboard port in the right toolbar in Gloud shell
In my case, the port was not open. Opening the port, helped me. This process was done on Linux.
Here is what I did:
First I checked if the port is open or not.
netstat -tulpn
You can check it by above code.
Then open the port by following code. Just change the port number in place of 8080
sudo /sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
sudo iptables-save
This should solve the issue.
Try
tensorboard --logdir=d:/data --host 0.0.0.0
This will open socket listening to all network interfaces, so you can connect from local host (same pc) or from the local network(from pc/mobile in network).
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