解決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/)有多個實現,包括原始和參考實現
相關文章
相關標籤/搜索