TensorFlow Keras運作錯誤:
AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
原因:安裝的tensorflow版本和keras版本不比對
解決方法:解除安裝自己的keras,然後重新安裝對應版本keras
檢視對應版本網址:https://docs.floydhub.com/guides/environments/
我的是TensorFlow1.10.0,是以對應Keras版本是2.2.0, 指定版本安裝pip install keras==2.2.0即可