neural network to color black and white photos
My test dataset was big enough to find few good results
Note: A large majority of the images are lightly colored in brown. As color brown gives a much lower loss value. A limited and basic dataset makes better outcomes.
An image translated into LAB pixel values. It also builds a core intuition for how the network learns. How the network compares the input with the output and adjusts the network.
In this version,result images are colored brown as the network is not big enough and not been trained for longer duration. This neural network builds an intuition for the purpose of the final version and is simple enough to implement easily.
The full version adds information from a pre-trained classifier. It then learns to combine that information with the black and white photo. It gives the network more confidence to color the image. Otherwise, it tends to default to the safest color, brown.
You'll start getting some results after about 8 hours on a google-colab free GPU but its hard to train it for longer period of time with large dataset as google-colab gives only 12gb ram, which often overloads and crashes with this network.
- Thanks to emilwallner's article and work in this project , kindly follow his article to understand in depth.
- Dataset
Currently Learning GANS to build a better model.