Here we build the loss functions for the neural style transfer model. The authors propose to use a pretrained VGG-19 to compute the loss function of the network. It is important to keep in mind that this will be used for training only the decoder netwrok. The total loss (Lt) is a weighted combination of content loss (Lc) and style loss (Ls). The lambda term is used to vary the amount of style transfered.