chainer-fast-neuralstyle
chainer-fast-neuralstyle copied to clipboard
Why the output image substracts 120 before vgg forwarding, while the style image not?
Hello, When I was diving into the code, I'm confusing why the output image of ITN network substract 120 at each pixel, while not for the style image. What is the reason behind this? Best,
Style image also subtract 120 at each pixel. You can find: https://github.com/yusuketomoto/chainer-fast-neuralstyle/blob/master/train.py#L80 https://github.com/yusuketomoto/chainer-fast-neuralstyle/blob/master/net.py#L93
Hi, to follow up on this, what exactly is 120? If its the mean pixel over all train images, shouldn't you be subtracting the mean image for preprocessing? @yusuketomoto @crazylyf
Nevermind. I figured that its the mean pixel (as is needed) from the VGG documentation