Sign inSign up

vbisbest/ideepcolor_osx

By vbisbest

Updated almost 9 years ago

ideepcolor for OSX docker image

Image
5

1.6K

vbisbest/ideepcolor_osx repository overview

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:

  1. Install docker
  2. Configure Docker - preferences -> advanced -> set memory to 8 gig. Apply changes.
  3. Pull image: $ docker pull vbisbest/ideepcolor_osx

xQuartz

  1. Install home-brew if needed: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install xQuartz: $ brew cask install xquartz
  3. Reboot! - You must reboot your mac after installation for xQuartz to work properly
  4. Configure xQuartz - Open preferences -> security -> check "Allow connections from network clients"

Running ideepcolor

  1. Network Utility - Open network utility and get your IP address
  2. $ xhost +your_ip_address e.g. $ xhost +192.168.1.13 This will automatically open xQuartz
  3. $ 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.

Tag summary

Content type

Image

Digest

Size

1.5 GB

Last updated

almost 9 years ago

docker pull vbisbest/ideepcolor_osx