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

AttributeError: module 'keras.backend' has no attribute 'get_graph' #41

Open
NischalKMapakshi opened this issue Nov 2, 2023 · 3 comments

Comments

@NischalKMapakshi
Copy link

Hello, I'm testing out sciann. Running my code on google colab.
It uses python version Python 3.10.12

Error:
AttributeError: module 'keras.backend' has no attribute 'get_graph'

Whats the work around for this?

I've seen some responses asking me to downgrade python version, is that the only fix?

@NischalKMapakshi
Copy link
Author

I'm overriding keras version using
pip install keras==2.2.0
the new error:

ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/init.py)

@veromab
Copy link

veromab commented Nov 20, 2023

Seems like the same issue as https://github.com/sciann/sciann/issues/97

@HSluchi
Copy link

HSluchi commented Sep 2, 2024

Same problems, have you fix it? how to correct the code? @NischalKMapakshi

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

3 participants