解决AttributeError: module 'tensorflow.python.training.checkpointable' has no attribute 'Checkpointabl

AttributeError: module ‘tensorflow.python.training.checkpointable’ has no attribute ‘CheckpointableBase’

解决AttributeError: module 'tensorflow.python.training.checkpointable' has no attribute 'Checkpointabl_第1张图片
解决办法:
升级或者安装 tensorflow 时,没有将老版本卸干净。

conda uninstall tensorflow
pip uninstall tensorflow
conda uninstall tensorflow-gpu
pip uninstall tensorflow-gpu
pip uninstall tf-nightly

你可能感兴趣的:(Bug,tensorflow,python,深度学习)