module ‘tensorflow‘ has no attribute ‘get_default_graph‘问题解决

module 'tensorflow' has no attribute 'get_default_graph'


根本原因:版本不匹配

如果你的是python3.7版本
tensorflow–2.1.0
tensorflow–gpu–2.1.0
keras -2.3.0
即可解决

猜你喜欢

转载自blog.csdn.net/qq_45451150/article/details/120117414