Skip to content

Wanguy/neural_style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

neural_style

TravisSimplified Chinese Documentation

An implementation of neural style in TensorFlow.

TensorFlow doesn't support L-BFGS (which is what the original authors used), so we use Adam. This may require a little bit more hyperparameter tuning to get nice results.

Related Projects

See here for an implementation of fast (feed-forward) neural style in TensorFlow.

Requirements

Data Files

Pre-trained VGG network(vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5), put it into /Users/YOURNAME/.keras/models, or specify its location using the--networkoption.

Dependencies

You can install Python dependencies using pip install -r requirements.txt, and it should just work. If you want to install the packages manually, here's a list:

Running

python neural_style_transfer.py "<content file>" "<style file>" "<output file>"

<output file> no extension is required.

Run python neural_style.py --help to see a list of all options.

Use --checkpoint-output and --checkpoint-iterations to save checkpoint images.

License

Copyright (c) 2015-2017 Wanguy. Released under GPLv3. See LICENSE.txt for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages