使用tensorflow调试过程中报错: Error: Module ‘tensorflow‘ has no attribute ‘gfile‘ error while running tensorf
使用tensorflow调试过程中报错:Error: Module ‘tensorflow’ has no attribute ‘gfile’ error while running tensorflow object detection api tutorial原因是因为我的tf版本是2.1.2 函数名不对应解决方法:将相关的函数名改为: tf.io.gfile.GFile查看tf版本:gym:~$ python>>>import tensorflow as tf>
原创
2020-11-25 20:42:43 ·
453 阅读 ·
0 评论