Skip to content

AvirupJU/Neural_Style_Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Neural_Style_Transfer

Neural Style Transfer implemented in PyTorch.
NST is a peculiar application of CNNs that is used to impose the style of one image on a target image without distorting its contents.
Many photo editing apps use this model in background of their filters.
I have used a pretrained VGG-19 model as the backbone. Through training we aim to minimise the total loss, which is a weighted sum of the content loss and the style loss.
By tuning the weights of the loss function we can adjust how much of the style/content we want to keep in the output.

Sample Output:

At epoch 0:

At epoch 2500:

At epoch 5000:

About

Neural Style Transfer in Pytorch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published