运行出错:ImportError: cannot import name ‘get_config‘ from ‘tensorflow.python.eager.context‘ (C:\Program

运行:from keras.models import Sequential

出错:ImportError: cannot import name 'get_config' from 'tensorflow.python.eager.context'

改为:from tensorflow.keras.models import Sequential就好了

你可能感兴趣的:(tensorflow,python,keras)