Fix Keras install in keras_parikeh_entailment

The master branch of Keras doesn't work with this example anymore so this pins Keras to version 1.2.2 for this example.
This commit is contained in:
John Haley 2017-10-19 08:56:28 -07:00 committed by GitHub
parent 0a0d8c8c9f
commit 44c61fde25

View File

@ -47,13 +47,13 @@ First, install [Keras](https://keras.io/), [spaCy](https://spacy.io) and the spa
English models (about 1GB of data): English models (about 1GB of data):
```bash ```bash
pip install https://github.com/fchollet/keras/archive/master.zip pip install https://github.com/fchollet/keras/archive/1.2.2.zip
pip install spacy pip install spacy
python -m spacy.en.download python -m spacy.en.download
``` ```
⚠️ **Important:** In order for the example to run, you'll need to install Keras from ⚠️ **Important:** In order for the example to run, you'll need to install Keras from
the master branch (and not via `pip install keras`). For more info on this, see the 1.2.2 release (and not via `pip install keras`). For more info on this, see
[#727](https://github.com/explosion/spaCy/issues/727). [#727](https://github.com/explosion/spaCy/issues/727).
You'll also want to get Keras working on your GPU. This will depend on your You'll also want to get Keras working on your GPU. This will depend on your