AttributeError: module 'tensorflow' has no attribute 'contrib'git
The TensorFlow contrib module will not be included in TensorFlow 2.0.For more information, please see:github
解决办法:笔者简单地pip uninstall tensorflow装回1.X的版本ide