From 44c61fde25af968b69b1f171e5681caceb16baed Mon Sep 17 00:00:00 2001 From: John Haley Date: Thu, 19 Oct 2017 08:56:28 -0700 Subject: [PATCH] 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. --- examples/keras_parikh_entailment/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/keras_parikh_entailment/README.md b/examples/keras_parikh_entailment/README.md index adc80ce89..25324c095 100644 --- a/examples/keras_parikh_entailment/README.md +++ b/examples/keras_parikh_entailment/README.md @@ -47,13 +47,13 @@ First, install [Keras](https://keras.io/), [spaCy](https://spacy.io) and the spa English models (about 1GB of data): ```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 python -m spacy.en.download ``` ⚠️ **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). You'll also want to get Keras working on your GPU. This will depend on your