This is a docker image to run the ideepcolor project on OSX. Credit to @swallner for the base image.
ideepcolor project: https://github.com/junyanz/interactive-deep-colorization
Setup video: https://www.youtube.com/watch?v=IORcb4lQlxQ
Setup instructions:
Install docker
Configure Docker - preferences -> advanced -> set memory to 8 gig. Apply changes.
Pull image: $ docker pull vbisbest/ideepcolor_osx
xQuartz
Install home-brew if needed: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"
Install xQuartz: $ brew cask install xquartz
Reboot! - You must reboot your mac after installation for xQuartz to work properly
Configure xQuartz - Open preferences -> security -> check "Allow connections from network clients"
Running ideepcolor
Network Utility - Open network utility and get your IP address
$ xhost +your_ip_address e.g. $ xhost +192.168.1.13 This will automatically open xQuartz
$ docker run -ti --rm -e DISPLAY=192.168.1.13:0 -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v /Users:/root/ideepcolor/osx vbisbest/ideepcolor_osx /bin/sh -c 'cd ideepcolor; python ideepcolor.py --cpu_mode'
If all goes well, the GUI should load with the "mortar and pastel" image with it auto colored. There will be a directory mapped to your /Users folder in the ideepcolor/osx folder in the docker image. So you can "Load" and save images from that folder.