原文: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