Skip to content

Instantly share code, notes, and snippets.

@dhgrs
Created July 21, 2018 12:54
Show Gist options
  • Save dhgrs/67ba3a2b44f0905b84a43b259c82f5af to your computer and use it in GitHub Desktop.
Save dhgrs/67ba3a2b44f0905b84a43b259c82f5af to your computer and use it in GitHub Desktop.
tensorboard script
function tensorboard() {
docker run \
-v $(readlink -f $1):$(readlink -f $1) \
-p ${2:-6006}:6006 \
-d \
--rm \
--name ${2:-6006} \
-it tensorflow/tensorflow:1.8.0-devel-py3 \
tensorboard --logdir=$(readlink -f $1)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment