Skip to content

Instantly share code, notes, and snippets.

@GoingMyWay
Last active July 26, 2021 03:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save GoingMyWay/e6f77d144762c9afbf28d5c354809588 to your computer and use it in GitHub Desktop.
TensorBoard helpful commands
#!/bin/bash
echo "[INFO] Starting running tensorboard from logpath $1"
tensorboard --logdir $1 --host 0.0.0.0
@GoingMyWay
Copy link
Author

GoingMyWay commented Jan 8, 2021

So, now you need only type like this

$ tb_run /path/to/the/logger

Saving time.

Installation

mkdir -p ${HOME}/opt
cd ${HOME}/opt 
wget https://gist.githubusercontent.com/GoingMyWay/e6f77d144762c9afbf28d5c354809588/raw/1aade9eeb56f478035be830ff80bd8022ff9f2af/tb_run
chmod u+x tb_run
echo "export PATH=$PATH:${HOME}/opt" >> ${HOME}/.zshrc
source ${HOME}/.zshrc
cd -

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