原文:AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'处理办法

原因:安装的tensorflow版本和keras版本不匹配,只需卸载keras,重新安装自己tensorflow对应的版本。 Keras与tensorflow版本匹配查询网站 ...

2020-03-21 12:00 0 1091 推荐指数:

查看详情

module 'tensorflow' has no attribute 'get_default_graph'

module 'tensorflow' has no attribute 'get_default_graph' 当我使用kerastensorflow做深度学习的时候,python3.6报了这个错误,这个问题源自于kerasTensorFlow的版本过高导致模块不存在或者已经更改不再兼容 ...

Fri Mar 29 04:15:00 CST 2019 0 5115
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM