Skip to content

Commit

Permalink
Merge pull request #166 from lincc-frameworks/training-demo-fix
Browse files Browse the repository at this point in the history
Fixing tensorboard instructions for running on a remote server
  • Loading branch information
aritraghsh09 authored Jan 17, 2025
2 parents 11a235a + 4a14546 commit d745694
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/notebooks/train_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@
"%reload_ext tensorboard\n",
"%tensorboard --logdir ./results\n",
"\n",
"# if running on a remote server, and tunnelling a connection,\n",
"# pass the --bind-all flag\n",
"# %tensorboard --logdir ./results --bind_all\n",
"# and then forward the selected port to your local machine"
"# If you are running on a remote server and want to run tensorboard there;\n",
"# you need to pass additional argments for port forwarding to work.\n",
"# For example\n",
"# %tensorboard --logdir ./results --bind_all --port 8888\n",
"# will start tensorboard on port 8888 and you may need to forward that\n",
"# port to your local machine using\n",
"# ssh -N -L 8888:<name_of_machine>:8888 <username@server.com>"
]
},
{
Expand Down

0 comments on commit d745694

Please sign in to comment.