Skip to content

Achilles107/grayscale-to-color-using-unet-learner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrayScale to Color conversion

Table of contents

The challenge

Create a program to determine the understanding of U-Net Learner, resnet34 and deep learning skills. Handson experience on Jupyter Notebook code.

Overview

In this project, we have used U-Net learner for converting grayscale black and white images into colored ones.

My process

  • First 200k Colored Human Face images Dataset was taken from Kaggle. alt text
  • Then a new dataset of grascale images were created by converted all images into grayscale using crappifier method. alt text
  • Both dataset were trained using U-Net learner with resnet34 CNN model. The Cost funtion used was MSELossFlat().
  • The training was done on Google Colab with GPU Hardware accelerator. It took around 3 hours and 20 minutes to complete the training.
  • It ended up with a 6% Validation error.

alt text

  • Testing on the existing data.

alt text

  • You can save your model in .pkl file, which can be integrated in other webapps or mobile applications.
  • Below is the link for .pkl file for trained model.
  • PKL file link

Built with

  • Python 3
  • pandas
  • fastai

Result of classifier

alt text

Useful resources

Author

About

Conversion of Images from grayscale to color

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published