- 博客(1)
- 收藏
- 关注
转载 module ‘tensorflow‘ has no attribute ‘XXX‘
module ‘tensorflow’ has no attribute ‘XXX’ tensorflow2.0提示错误: module 'tensorflow' has no attribute 'XXX' 解决方法: 如果你在升级了TensorFlow 2.0后出现这种错误,你可以通过替换以下代码来使用TensorFlow 1.X 的 API import tensorflow as tf 替换为: import tensorflow.compat.v1 as tf tf.disable_v2_be
2020-11-08 11:30:36 859 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人