Created
July 21, 2018 12:54
-
-
Save dhgrs/932154ef165d67cb5e552a80fa02b1cd to your computer and use it in GitHub Desktop.
chainerui script
This file contains 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 chainerui() { | |
docker run \ | |
-v $(readlink -f $1):$(readlink -f $1) \ | |
-p ${2:-5000}:5000 \ | |
-d \ | |
--rm \ | |
--name ${2:-5000} \ | |
-it chainer/chainerui:v0.4.0 \ | |
bash -c \ | |
"chainerui project create -d $(readlink -f $1); | |
chainerui server --host 0.0.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment