Skip to content

pburnsdata/fast-style-transfer

 
 

Repository files navigation

Fast TensorFlow Style Transfer Fun

Forked From lengstrom

Style Transfer on India Photos

I'm feeding pictures my friend took when we were in India to deep learning models that have been trained on different classic paintings. The models are applying the styles they learned to the pictures and producing the output you see here. The results were pretty cool. Take a look!

Implementation Details

Their implementation uses TensorFlow to train a fast style transfer network. They use roughly the same transformation network as described in Johnson, except that batch normalization is replaced with Ulyanov's instance normalization, and the scaling/offset of the output tanh layer is slightly different. They use a loss function close to the one described in Gatys, using VGG19 instead of VGG16 and typically using "shallower" layers than in Johnson's implementation (e.g. we use relu1_1 rather than relu1_2). Empirically, this results in larger scale style features in transformations.

Photo credits to Jonathan Morris

License

Copyright (c) 2016 Logan Engstrom.

About

Applied lengstrom's CNN to my India Photos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%