module 'tensorflow' has no attribute 'get_default_graph' 根本原因:版本不匹配 如果你的是python3.7版本 tensorflow–2.1.0 tensorflow–gpu–2.1.0 keras -2.3.0 即可解决