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 'tensorflow' has no attribute 'get_default_graph' #1

Open
M7un opened this issue Dec 17, 2020 · 0 comments
Open

Comments

@M7un
Copy link
Owner

M7un commented Dec 17, 2020

solution:

  1. Check the version of tensorflow installed :

python
import tensorflow as tf
tf.__version__

  1. The following link to View the keras version corresponding to your own tensorflow version:
  1. Reinstall the corresponding version of Keras:

pip install keras==x.x.x

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

1 participant