Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'initializations' #6278

Closed
1 of 4 tasks
fengjiqiang opened this issue Apr 17, 2017 · 4 comments
Closed
1 of 4 tasks

ImportError: cannot import name 'initializations' #6278

fengjiqiang opened this issue Apr 17, 2017 · 4 comments

Comments

@fengjiqiang
Copy link

fengjiqiang commented Apr 17, 2017

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!

  • 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).

@Franck-Dernoncourt
Copy link

Franck-Dernoncourt commented Apr 23, 2017

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write

from keras import initializers

@fengjiqiang
Copy link
Author

fengjiqiang commented May 16, 2017 via email

@AyazSaiyed
Copy link

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write

from keras import initializers

It worked for me !

@FengZhiheng
Copy link

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write

from keras import initializers

It worked for me !

It works for me, too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants