当前位置: 代码迷 >> 综合 >> 解决AttributeError: module 'tensorflow.python.training.checkpointable' has no attribute 'Checkpointabl
  详细解决方案

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

热度:123   发布时间:2023-10-18 13:38:12.0

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

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

conda uninstall tensorflow
pip uninstall tensorflow
conda uninstall tensorflow-gpu
pip uninstall tensorflow-gpu
pip uninstall tf-nightly
  相关解决方案