Skip to content

Instantly share code, notes, and snippets.

@bhautikj
Created May 25, 2016 04:48
Show Gist options
  • Save bhautikj/a90ff6b1f1b045fb66db2d5196da5403 to your computer and use it in GitHub Desktop.
Save bhautikj/a90ff6b1f1b045fb66db2d5196da5403 to your computer and use it in GitHub Desktop.
setup neural-style on osx
sudo easy_install pip
sudo easy_install --upgrade six
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl
brew install gcc
sudo pip install scipy pillow numpy
git clone https://github.com/anishathalye/neural-style
cd neural-style
curl http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-verydeep-19.mat > imagenet-vgg-verydeep-19.mat
# test
python neural_style.py examples/1-content.jpg --styles examples/1-style.jpg --output foo.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment