Need help with easyStyle?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Teaonly
123 Stars 36 Forks MIT License 9 Commits 0 Opened issues

Description

All kinds of neural style transformer

Services available

!
?

Need anything else?

Contributors list

No Data

easyStyle

All kinds of neural style transformer.

This project collects many kinds of nerual style transformer , including

  • dreamer mode

  • gram matrix style

  • MRF style

  • guided style/patch transformer

My project is foccus on clean and simple implementation of all kinds of algorithm.


1. install and setup

Install following package of Torch7.

cunn
loadcaffe
cudnn

This project needs a GPU with 4G memory at least. Firstly you should download VGG19 caffe model.

cd cnn/vgg19
source ./download_models.sh

2. Quick demo

The .style files descript the arch of network used in style transformer, they are based on Lua language. The .style files is very simple ,all the paramters are configed in thease files.

2.1 dreamer mode

th ezstyle ./dreamer.style

2.2 gram matrix mode

th ezstyle ./gram.style

2.3 MRF mode

th ezstyle ./mrf.style

2.4 guided mode 1 ( masked gram style transform )

th ezstyle ./masked_gram.style

2.5 guided mode 2 ( masked mrf )

[WIP]

3. Resources

All of code is coming from following projects, I have make them more simpler and stupid :).

https://github.com/chuanli11/CNNMRF

https://github.com/alexjc/neural-doodle

https://github.com/awentzonline/image-analogies

https://github.com/jcjohnson/neural-style

https://github.com/DmitryUlyanov/fast-neural-doodle

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.