Skip to content

Instantly share code, notes, and snippets.

@n1ckfg
Last active January 24, 2018 02:42
Show Gist options
  • Save n1ckfg/5e06c6066d6f5a55095a8d7dc371b7c3 to your computer and use it in GitHub Desktop.
Save n1ckfg/5e06c6066d6f5a55095a8d7dc371b7c3 to your computer and use it in GitHub Desktop.

SETUP for STYLE-TRANSFER on WINDOWS 7 / 151231 https://github.com/fzliu/style-transfer

  1. Install current NVidia drivers.

  2. Install CUDA 7.0. Choose only the CUDA Toolkit; you don't need the Samples and the drivers are outdated.

  3. Install Anaconda. Defaults are fine.

  4. Install these modules for Anaconda (or use local versions): conda install -c https://conda.binstar.org/dhirschfeld protobuf conda install progressbar

  5. Copy caffe into: PATH_TO_ANACONDA\Lib\site-packages

  6. Add: PATH_TO_ANACONDA\Lib\site-packages\caffe ...to your Path

  7. Extract OpenCV and place it wherever you want.

  8. Add: PATH_TO_OPENCV\build\bin ...to your Path.

  9. Copy: PATH_TO_OPENCV\build\python\2.7\x64\cv2.pyd ...to: PATH_TO_ANACONDA\Lib\site-packages

  10. Download the models listed in: PATH_TO_NEURAL-STYLE\scripts\download_models.sh ...and place them in the required locations (or use local versions).

  11. You should now be able to run Neural-Style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment