How can I run Tensorboard on a remote server?

前端 未结 12 1744
青春惊慌失措
青春惊慌失措 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:34

    You can port-forward with another ssh command that need not be tied to how you are connecting to the server (as an alternative to the other answer). Thus, the ordering of the below steps is arbitrary.

    1. from your local machine, run

      ssh -N -f -L localhost:16006:localhost:6006

    2. on the remote machine, run:

      tensorboard --logdir --port 6006

    3. Then, navigate to (in this example) http://localhost:16006 on your local machine.

    (explanation of ssh command:

    -N : no remote commands

    -f : put ssh in the background

    -L ::: :

    forward : (local scope) to : (remote scope)

提交回复
热议问题