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

“Keras requires TensorFlow 2.2 or higher”!! #23

Open
mandar-18 opened this issue Jul 26, 2020 · 4 comments
Open

“Keras requires TensorFlow 2.2 or higher”!! #23

mandar-18 opened this issue Jul 26, 2020 · 4 comments

Comments

@mandar-18
Copy link

The config.yml pins tensorflow==1.15. However no Keras version is pinned. Thus, after execution of conda env create -f config/environment.yml latest version of Keras (i.e. 2.4.3) gets installed.
While executing train.py locally, it throws Error “Keras requires TensorFlow 2.2 or higher”
I think pinning appropriate version of keras would help. What it is?

@nguyenanhtuan1008
Copy link

I got the same problem. Downgrade Keras to 2.2.4 still not working.
Now we want to know what Keras version in the original environment?

@nguyenanhtuan1008
Copy link

the solution is to install Keras 2.3.1

@mandar-18
Copy link
Author

the solution is to install Keras 2.3.1

Have tried installing Keras 2.3.1? Did it work for you in conda environment?

@nguyenanhtuan1008
Copy link

Yes. Worked! Should try it. using conda!

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

2 participants