jcjohnson / neural-style

Torch implementation of neural style algorithm
MIT License
18.31k stars 2.7k forks source link

Question: Are the parameters of VGG updated during image synthesis? #414

Closed TheIllusion closed 7 years ago

TheIllusion commented 7 years ago

I've understand that the synthesized output image is generated by minimizing style and content loss.

During iterations, are the parameters of VGG also updated?

As far as I understand, only the input noise image is the only parameter that will be updated. And the parameters of VGG is fixed during the whole process.

Is my understanding right?

Thanks for your great work.

htoyryla commented 7 years ago

Parameters of VGG are fixed, only the image changes during the iterations.

TheIllusion commented 7 years ago

Thanks for your confirmation. Now everything is clear in my mind.