DmitryUlyanov / texture_nets

Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Apache License 2.0
1.22k stars 218 forks source link

question about the preprocess #64

Closed austingg closed 7 years ago

austingg commented 7 years ago

hi, I am confused by the preprocess. In the training phase, the net is fed with image substracted mean values, however, in the test phase, the net is fed with raw image and do extra deprocess.

any help will be appreciated.

DmitryUlyanov commented 7 years ago

Hello, there is no preprocess stage as you described. There is one in neural-style repo as this preprocessing is required by VGG.

austingg commented 7 years ago

@DmitryUlyanov thanks a lot. It's my careless. preprocessed image is only fed to VGG. texture nets process the raw image.