jcjohnson / neural-style

Torch implementation of neural style algorithm
MIT License
18.3k stars 2.71k forks source link

technical note that explains Justin's code (not an issue) #481

Open accrou opened 4 years ago

accrou commented 4 years ago

The following is a link to a blog post that explains Justin's code and how it (properly) implements the Gatys paper "A Neural Algorithm of Artistic Style". In particular, the ContentLoss:updateOutput, ContentLoss:updateGradInput, StyleLoss:updateOutput, StyleLoss:updateGradInput, and TVLoss:updateGradInput methods are explained and shown to match what is in the Gatys paper.

Justin Johnson's Neural Style Torch Implementation Explained

Kudos to Justin for a great torch implementation.