While running an old script, after updating keras and tensorflow, I faced the following error:
module 'keras.backend' has no attribute 'tensorflow_backend'
For the following line of code
print(K.tensorflow_backend._get_available_gpus())
I come to understand that this could be issue of version mismatches. The corresponding versions of Keras and Tensorflow are
2.4.3
2.2.0
python - 3.7.5
What is the right version compatibiltiy / combination that I should make use of, to overcome this error?