- 博客(1)
- 收藏
- 关注
原创 AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
Senorflow的2.x版本AttributeError: module 'tensorflow' has no attribute 'p的解决方案:在终端里输入:pip install tf_slim,然后注释掉slim = tf.contrib.slim,换成import tf_slim as slim。再把其他所有报错的在tf.后面加上compat.v 具体可询问,有时间就回 ...
2021-10-05 21:12:52
174
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人