Reputation: 11
I tried pip installing 0.3.1, but when I print the version it outputs 2.1.4.
!pip install keras==0.3.1
import keras
print keras._version__
I am trying to train deepmask (https://github.com/abbypa/NNProject_DeepMask/) for which I specifically need 0.3.1.
Upvotes: 0
Views: 2089
Reputation: 6625
Note that if you've already loaded keras
, then the second import statement has no effect.
So first !pip install keras==0.3.1
, then restart your kernel (ctrl-m . or Runtime -> Restart runtime) and then things should work as expected.
Upvotes: 1