Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.86 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.86 KB

CNN - Image Colorization

This is the codebase of an autoencoder model that attempts to solve the image colorization problem, where black and white images must be colorized properly.

The entire implementation is based on PyTorch and the dataset used is the Image Colorization Dataset.

Requirements

First of all, the dataset must be downloaded and placed in the data folder. To train or test models, the following libraries/modules must be installed:

  1. PyTorch
  2. Torchvision
  3. Scikit-Image
  4. Matplotlib

Output Examples

Examples on the testing set Example on testing set

Examples on the training set Example on training set

Documentation

The entire process is outlined in a series of Medium posts I wrote. You can read them in the following links:

  1. Building an Image Colorization Neural Network — Part 1: Generative Models and Autoencoders
  2. Building an Image Colorization Neural Network — Part 2: Artificial Neural Networks
  3. Building an Image Colorization Neural Network — Part 3: Convolutional Neural Networks
  4. Building an Image Colorization Neural Network - Part 4: Implementation