Skip to content

Instantly share code, notes, and snippets.

@ShijianXu
Forked from mrnabati/remote_tensorboard.md
Created November 10, 2023 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShijianXu/71f93a28b0f0782211fb81129c88e7a6 to your computer and use it in GitHub Desktop.
Save ShijianXu/71f93a28b0f0782211fb81129c88e7a6 to your computer and use it in GitHub Desktop.
Tensorboard on remote server

Running Tensorboard remotely on a server

Follow these steps to run tensorflow on remote server but see the results on local browser using port forwarding.

  • On the remote machine, run:
    tensorboard --logdir <path> --port 6006
  • On the local machine, run
    ssh -N -f -L localhost:16006:localhost:6006 <user@remote>
    then navigate to http://localhost:16006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment