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

原因:安装的tensorflow版本和keras版本不匹配,只需卸载keras,重新安装自己tensorflow对应的版本。

Keras与tensorflow版本匹配查询网站

 

猜你喜欢

转载自www.cnblogs.com/dyc99/p/12538440.html
今日推荐