An open API service indexing awesome lists of open source software.

https://github.com/lukas-blecher/colorization

Comparing classification and GAN approaches for the colorization problem
https://github.com/lukas-blecher/colorization

Last synced: 10 months ago
JSON representation

Comparing classification and GAN approaches for the colorization problem

Awesome Lists containing this project

README

          

# Colorization
Final Project in Advanced Machine Learning 2019

In this repo we looked at the colorization problem from two different angles and compare them in our report.
* Using a Generative Adversarial Networks
* Using the classification approach


## Training
To train a model execute a line like the following but replace `train.py` with the corresponing python file (`train_gan.py` or `train_classification.py`)

`python train.py -n NAME`

## Results

![classification results](https://github.com/lukas-blecher/Colorization/blob/master/figures/classification_good.png?raw=true)
![gan_results](https://github.com/lukas-blecher/Colorization/blob/master/figures/good-gan-images.png?raw=true)


Here are some results where the colorization was successful.
Left: Classification, right: GAN
The order is from left to right: Grayscale input image, ground truth image, colorized version
The images were taken from the [STL-10](https://cs.stanford.edu/~acoates/stl10/) testset.