我在使用tensorflow时遇到问题。我想使用TFRecordWriter()
,如下所示:
with tf.python_io.TFRecordWriter(testing_filename) as tfrecord_writer:
# do sth
但我得到了一个错误:
AttributeError: module 'tensorflow' has no attribute 'python_io'
我正在使用TensorFlow1.2和Python3。在
我怎样才能解决这个问题?在
谢谢。在
Tags:
我遇到了这个问题,结果是tensorflow安装损坏了。我删除了张量流重新安装,它为我工作后。在
相关问题 更多 >
编程相关推荐