Skip to content

Commit

Permalink
Merge pull request #11 from mcwhittemore/master
Browse files Browse the repository at this point in the history
add requirements.txt and explicitly state install directions
  • Loading branch information
awentzonline committed Mar 9, 2016
2 parents 61c2a0e + 577ba54 commit 839b679
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
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

0 comments on commit 839b679

Please sign in to comment.