kotyukov / NeuralStyleTransferDLS

Neural Style Transfer Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neural Style Transfer study case for DLS MIPT

This is NST-algorithm implementation inspired by paper "A Neural Algorithm of Artistic Style", Gatys, Ecker, Bethge. 1508.06576

Original Neural Style Transfer code by Leon Gatys: https://github.com/leongatys/PytorchNeuralStyleTransfer

The loss function

we minimise is

where a is style image, p is content image, x is generated (output) image and α and β are the weighting factors for content and style.

Transfer two styles (fusion)

Transfer two styles (naive split)

Layer-sets comparison

Pooling type comparison

About

Neural Style Transfer Pytorch


Languages

Language:Jupyter Notebook 100.0%