neural-style-tf icon indicating copy to clipboard operation
neural-style-tf copied to clipboard

Vgg weights not normalized

Open mukund109 opened this issue 5 years ago • 3 comments

The vgg weights have not been scaled as described in Section 2 of the paper.

This is probably what's making the results non-reproducible (if you try to use the style and content loss weights that Gatys et al have mentioned in their papers).

mukund109 avatar Feb 22 '19 11:02 mukund109

relu3_1

mukund109 avatar Feb 22 '19 11:02 mukund109

I noticed this as well, would normalization also help alleviate some of the issues with visual artififacts and chromatic aberrations at low iteration counts?

fionafibration avatar Jun 16 '19 07:06 fionafibration

I'm also thinking if inputs shouldn't be normalized, pixel values for images are in range around [-150,150] and it makes the value of functions for f and g in lbfgs enormous (around 1e11), on linux I'm getting WARNING: ROUNDING ERRORS PREVENT PROGRESS warning on linux machine, and it does not converge.

racinmat avatar May 25 '20 22:05 racinmat