Skip to content

Instantly share code, notes, and snippets.

@mrnabati
Last active April 11, 2024 11:18
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mrnabati/009c43b9b981ec2879008c7bff2fbb22 to your computer and use it in GitHub Desktop.
Save mrnabati/009c43b9b981ec2879008c7bff2fbb22 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
@back2yes
Copy link

just run tensorboard --logdir <path> --port 6006 --bind_all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment