解决Tensorflow2.0出现:AttributeError: module 'tensorflow' has no attribute 'get_default_graph'的问题

问题描述 在使用tensorflow2.0时,遇到了这个问题: AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph’ 这个报错的意思是:tensorflow模块没有get_default_graph属性 错误缘由 这是因为Keras API(https://keras.io/)有多个实现,包括原始和参考实现
相关文章
相关标签/搜索