AttributeError: module 'tensorflow' has no attribute 'name_scope' with Keras 应该是tensorflow版本兼容问题 把 imports from keras.xxx 改为 tensorflow.keras.xxx