All Projects → gafr → chainer-fast-neuralstyle-video

gafr / chainer-fast-neuralstyle-video

Licence: other
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

chainer-fast-neuralstyle-video

Simple video wrapper for chainer fast neuralstyle app by yusuketomoto.

edtaonisl

Required Dependencies

Installation

Make sure all cuda related environment variables are set. This is how it looks for my configuration:

export LD_LIBRARY_PATH=/opt/cudann/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=/opt/cudann/lib:$LIBRARY_PATH
export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib
export CPATH=/opt/cudann/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH

Run:

bash getDeps.sh # downloads the OLD! models from https://github.com/gafr/chainer-fast-neuralstyle-models 
python setup.py install

Start

Before you run the app make sure to configure the constants in video.py.

python video.py

Swap the different models with keys 1-7

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].