Giter VIP home page Giter VIP logo

image-colorisation-project's Introduction

Image-Colorisation-Project

Table of Contents

Description

In this project we have used autoencoder to train the network to colorise the grayscale images.

Dataset

Dataset used for this project is torch.torchvision.datasets.Flowers102 which consists of RGB images of various types of flowers.

Methods

  • Autoencoder:We have used autoencoder in this project.Autoencoder is a neural network which is composed of encoder,bottleneck latent space and a decoder.

  • Transfer Learning: Transfer learning is the reuse of a pre-trained model on a new problem. In transfer learning, a machine exploits the knowledge gained from a previous task to improve generalization about another.

  • ResNet 18 Gray: Deep neural networks are hard to train as their depth increases. This increase in depth comes with many problems such as vanishing and exploding gradient descent . Residual Networks or ResNets are a solution to such problems. In this project we have used Resnet 18 Gray which is a pretrained Convolutional neural network that is 18 layers deep,but we have used just first 6 layers of this network.ResNet 18 Gray is pretrained on grayscale images, therefore it is used to extract features from the grayscale image. Hence we utilized transfer learning in the encoder block of autoencoder.

  • LAB Color Space: We have used LAB Color Space in this project as by separating out the lightness component, the neural network only has to learn the remaining two channels which contain the information for colorization.

Model Architecture

Arcitecture

Hyperparameters

Hyperparameter Description
Optimiser Adam Optimiser
Learning rate 0.001
Loss Function MSE loss
Batch size 60

Results

image

image-colorisation-project's People

Contributors

netrabatwe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.