Closed coderTazz closed 7 years ago
That's just to clip the output values to between [-1, 1] for when the images are saved to a file. Otherwise the save to file will scale according to min and max values of output, which will result in incorrect color scaling of the image.
That's just to clip the output values to between [-1, 1] for when the images are saved to a file. Otherwise the save to file will scale according to min and max values of output, which will result in incorrect color scaling of the image.
Exactly
Hi, I noticed that in run_content_network.lua, these two lines have been used:
I was wondering what is the reason behind this?