How to view the tensor panel of a remote server locally

Using my own laptop to run Tensorflow on a remote lab server

I used tensorboard --logdir=./logto view runtime results curves

I got:

 Starting TensorBoard  on port 6006
(You can navigate to http://0.0.0.0:6006)

and then I tried connecting it in a browser, but it failed ...

Does anyone know how to configure to view the tensor panel of a remote server on my own laptop?

+6
source share
3 answers

If you start the tensor board server in your laboratory instance using the command you mentioned, it will work on the laboratory server and host the tensor board web page from labserverIP: 6006.

SLURM ( ) , SSH , , , , labserverIP: 6006 : 6006. github , SLURM. :

1) tensorboard --logdir=./log --host $SERVER_IP --port $SERVER_PORT

2) SSH , ssh uname@login.node.edu -L $LOCAL_PORT:$SERVER_IP:$SERVER_PORT

uname@login.node.edu IP- .

3) http://localhost:$LOCAL_PORT http://localhost:$LOCAL_PORT , .

- , -.

+8

SSH IP-, , http://<publicIP>:6006 TensorBoard.

IP-, , 6006 SSH- . , OpenSSH port forwarding .

+2

ssh -NfL 6006:localhost:6006 username@remote_server_address

+2

Source: https://habr.com/ru/post/1648407/


All Articles