The content loss is the mean squared error calculated between each pixel value from the real image and each pixel value from the generated image. The pixel-wide MSE loss calculates how different the generated images are from the real images. The formula for calculating the pixel-wide MSE loss is as follows:
Here, represents a high-resolution image generated by the generated network.
represents a high-resolution image sampled from the real dataset.