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

requires TensorFlow 2.2 or higher? #26

Open
Zhenggen-deng opened this issue Apr 23, 2021 · 1 comment
Open

requires TensorFlow 2.2 or higher? #26

Zhenggen-deng opened this issue Apr 23, 2021 · 1 comment

Comments

@Zhenggen-deng
Copy link

from keras.utils import get_file
File "E:\Anaconda\envs\stylegan2\lib\site-packages\keras_init_.py", line 6, in
'Keras requires TensorFlow 2.2 or higher. '
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

Isn't the tensorflow GPU version required? Why do you still report the error that tensorflow should be above version 2.2

@elliotmarks06
Copy link

Simply install an older version of keras. Try the following:
pip install keras==2.2.1

Hope this helps!

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