Created
July 21, 2018 12:54
-
-
Save dhgrs/67ba3a2b44f0905b84a43b259c82f5af to your computer and use it in GitHub Desktop.
tensorboard script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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