Unable to open Tensorboard in browser

后端 未结 10 510
眼角桃花
眼角桃花 2020-12-24 02:50

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

相关标签:
10条回答
  • 2020-12-24 03:42

    you have to change port to the tensorboard port in the right toolbar in Gloud shell

    0 讨论(0)
  • 2020-12-24 03:44

    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.

    0 讨论(0)
  • 2020-12-24 03:47

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

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题