August 2018
Intermediate to advanced
438 pages
12h 3m
English
A model learns by improving upon the loss function or the objective function. The task is to learn optimal parameters using backpropagation to minimize the difference between the original color image and the output of the model. The output color image from the model is also referred to as the hallucinated colorization of the grayscale image. In this implementation, we utilize the mean squared error (MSE) as our loss function. The following equation summarizes it:

In the case of Keras, using this loss function is as easy as setting a parameter ...