Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add requirements.txt and explicitly state install directions #11

Merged
merged 1 commit into from Mar 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,3 +3,4 @@
*.swp
out/*
vgg16_weights.h5
venv
15 changes: 11 additions & 4 deletions README.md
Expand Up @@ -17,12 +17,19 @@ analogies so you might want to take a look for inspiration.

Installation
------------
You'll want to run this on a GPU. [Here are the docs](http://deeplearning.net/software/theano/tutorial/using_gpu.html) for getting
up and running.
You'll want to run this on a GPU. http://deeplearning.net/software/theano/tutorial/using_gpu.html

[Install latest keras and theano](http://keras.io/#installation) (requires theano, no tensorflow atm).
To install via [virtualenv](https://virtualenv.readthedocs.org/en/latest/installation.html) run the following commands.

Before running this script, download the weights for the VGG16 model at:
```
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```

If you have trouble with the above method, follow these directions to [Install latest keras and theano](http://keras.io/#installation) (requires theano, no tensorflow atm).

**Before running this script**, download the weights for the VGG16 model at:
https://drive.google.com/file/d/0Bz7KyqmuGsilT0J5dmRCM0ROVHc/view?usp=sharing
(source: https://gist.github.com/baraldilorenzo/07d7802847aaad0a35d3)
and make sure the variable `weights_path` in this script matches the location of the file or use the `--vgg-weights` parameter
Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
@@ -0,0 +1,9 @@
Cython==0.23.4
h5py==2.5.0
Keras==0.3.2
numpy==1.10.4
Pillow==3.1.1
PyYAML==3.11
scipy==0.17.0
six==1.10.0
-e git://github.com/Theano/Theano.git@954c3816a40de172c28124017a25387f3bf551b2#egg=Theano