GitXplorerGitXplorer
g

autocolorize

public
221 stars
63 forks
10 issues

Commits

List of commits on branch master.
Unverified
79d4ce1054d35c06bdfcc93236b71e161e082ebb

Fixes ExtendedImageDataLayer

ggustavla committed 7 years ago
Unverified
cf07840f9d0cd6a3617376c74ee3b2a1219ec3c9

Update some instructions

ggustavla committed 7 years ago
Unverified
ffc467a4183b442f1562415ebf747cf1b2848821

Update function interface

ggustavla committed 7 years ago
Unverified
ad1267293be32e7ae9f7ccb9abe63f48e31c1ba4

Add back lightness fix

ggustavla committed 7 years ago
Unverified
b25e2706972063b073ef38b686c96aa375727999

Improved tensorflow compilation instructions

ggustavla committed 8 years ago
Unverified
658a52824ba429185ebbec9d8553eeedbe1b26d4

Updated compilation instructions with some missing info

ggustavla committed 8 years ago

README

The README file for this repository.

.. image:: https://img.shields.io/pypi/v/autocolorize.svg :target: https://pypi.python.org/pypi/autocolorize

autocolorize

Automatically colorize images using Machine Learning.

  • Project page <http://people.cs.uchicago.edu/~larsson/colorization/>__
  • ECCV 2016 paper (arXiv <http://arxiv.org/abs/1603.06668>__)

Installation

Make sure that you have Caffe (with Python bindings). Then run::

pip install autocolorize

Run::

autocolorize grayscale.png -o colorized.png

API

You can also colorize from Python (assuming grayscale is the image that you want to colorize)::

import autocolorize
classifier = autocolorize.load_default_classifier()
rgb = autocolorize.colorize(grayscale, classifier=classifier)

Sparse training

We provide custom layers for doing sparse hypercolumn training in both Caffe (see caffe/) and Tensorflow (see tensorflow/). This can be used for other image-to-image tasks, such as semantic segmentation or edge prediction.

Look inside the train folder if you want to train from scratch.