Skip to content

Image colorization of black and white images with an Autoencoder

Notifications You must be signed in to change notification settings

gkamtzir/cnn-image-colorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Image colorization of black and white images with an Autoencoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages