How can I run Tensorboard on a remote server?

前端 未结 12 1748
青春惊慌失措
青春惊慌失措 2020-12-12 09:19

I\'m new to Tensorflow and would greatly benefit from some visualizations of what I\'m doing. I understand that Tensorboard is a useful visualization tool, but how do I run

12条回答
  •  生来不讨喜
    2020-12-12 09:54

    Here is what I do to avoid the issues of making the remote server accept your local external IP:

    • when I ssh into the machine, I use the option -L to transfer the port 6006 of the remote server into the port 16006 of my machine (for instance): ssh -L 16006:127.0.0.1:6006 olivier@my_server_ip

    What it does is that everything on the port 6006 of the server (in 127.0.0.1:6006) will be forwarded to my machine on the port 16006.


    • You can then launch tensorboard on the remote machine using a standard tensorboard --logdir log with the default 6006port
    • On your local machine, go to http://127.0.0.1:16006 and enjoy your remote TensorBoard.

提交回复
热议问题