Last active
January 17, 2019 07:05
-
-
Save TonsOfFun/514a5f9dc66e1b4dd64e53bb5c9d7c74 to your computer and use it in GitHub Desktop.
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
open -a XQuartz | |
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') | |
display_number=`ps -ef | grep "Xquartz :\d" | grep -v xinit | awk '{ print $9; }'` | |
/opt/X11/bin/xhost + $ip | |
docker run -it --rm -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix tensorflow-notebook /bin/bash | |
range-detector --filter HSV --image work/test3.png --preview |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment