How to fix the error AttributeError: module 'keras.backend' has no attribute 'get_session'

4.4k Views Asked by At

I get an error when executing this code My code

1

There are 1 best solutions below

2
On
pip install tensorflow==1.13.1
pip install keras==2.3.0

your tensorflow/keras version is too high. This command should solve your problem.