Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!
[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.
[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps
[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
In Keras 2.0, initializations
was renamed as initializers
. You should therefore instead write
from keras import initializers
In Keras 2.0, initializations was renamed as initializers. You should therefore instead write
from keras import initializers
At 2017-04-23 11:40:24, "Franck Dernoncourt" notifications@github.com wrote:
I have the same issue. My environment: tensorflow==1.1.0; Keras==2.0.3; Python 2.7.12; Ubuntu 16.04 LTS x64.
Running from keras import initializations in the python interpreter triggers the issue:
from keras import initializations
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name initializations
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
In Keras 2.0,
initializations
was renamed asinitializers
. You should therefore instead writefrom keras import initializers
It worked for me !
In Keras 2.0,
initializations
was renamed asinitializers
. You should therefore instead writefrom keras import initializers
It worked for me !
It works for me, too!
Most helpful comment
In Keras 2.0,
initializations
was renamed asinitializers
. You should therefore instead write