解决报错:AttributeError: module 'tensorflow' has no attribute 'logging'
在tensorflow 2.1下跑训练网络,报错:AttributeError: module 'tensorflow' has no attribute 'logging'这个是因为tensorflow2.1已经没有tf.logging了,解决方法如下:将tf.logging替换成tf.compat.v1.logging。问题解决。...
·
在tensorflow 2.1下跑训练网络,报错:AttributeError: module 'tensorflow' has no attribute 'logging'
这个是因为tensorflow2.1已经没有tf.logging了,解决方法如下:
将tf.logging替换成tf.compat.v1.logging。
问题解决。
更多推荐
所有评论(0)