Skip to content

prats0599/Img-colorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Img-colorization

Converted images from grayscale to color using a unet style architecture, with a resnet 34 as an encode and a decoder for the unet. The loss function was based on the paper Perceptual Losses for Real-Time Style Transfer and Super-Resolution. In essence they use the weights of a pretrained vgg16 model(with BatchNorm) to calculate a loss from the features. The implementation is similar to the one done in https://github.com/prats0599/Image-Enhancer. The results obtained were mixed in terms of expectations and a few of them are displayed below:
They are in order of Input/Prediction/Actual
The good
Image1 Image2 Image3 Image6

Okay-ish Image4 Image5

The bad Image8 Image9 Image10
As we can see, the model doesn't really focus much on improving the background of the images. Several images end up looking dull after the grayscale version is passed through the model, like some kind of yellow-ish filter applied on the real image. However, it does a good enough job on some of the images. I'm really hoping to improve the results in the future.

This project was inspired from Jason Antic's Deoldify.

About

Convert images from grayscale to color.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published