eridgd / AdaIN-TF

TensorFlow/Keras implementation of "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization" https://arxiv.org/abs/1703.06868
MIT License
54 stars 17 forks source link

Why use normalised_vgg model as the encoder ? #7

Open JunbinWang opened 6 years ago

JunbinWang commented 6 years ago

Hi Eridgd,

I saw most of the AdaIN-TF implementation used the normalised-vgg19 network as the encoder (include the original author)

Do you know the difference between normalised_vgg network and original VGG-19 network? And can we implement AdaIN-TF with the original vgg-19 network as encoder ?

eridgd commented 6 years ago

Hi,

The normalized VGG differs in three ways from standard VGG19:

I believe that I tried using the original VGG19 from Keras as the encoder instead and got more or less the same results as the normalized version. See vgg.py under this branch https://github.com/eridgd/AdaIN-TF/tree/vgg_keras

JunbinWang commented 6 years ago

@eridgd Thank you very much for your reply! In that case, I think I can use the original VGG-network to re-implement it... Thanks again ! I will check your code again~