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.
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
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.
th ezstyle ./dreamer.style
th ezstyle ./gram.style
th ezstyle ./mrf.style
th ezstyle ./masked_gram.style
[WIP]
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