How to fix ' module 'keras.backend.tensorflow_backend' has no attribute '_is_tf_1''
I fix this problem by replacing keras.XXX to tensorflow.keras.XXX
try replace
import keras.backend as K
to
import tensorflow.keras.backend as K
import -> import tensorflow as tf
then use
tf.compat.v1.keras.backend.
as prefix of your desired attribute
pip3 uninstall keras pip3 install keras --upgrade
https://github.com/keras-team/keras/issues/13352