[英]How to verify the input data in TensorFlow?
I am trying to verify if I am feeding the correct data to the TensorFlow graph. 我正在尝试验证是否向TensorFlow图提供了正确的数据。 I am using
tf.FixedLengthRecordReader()
to read the data and populate the queue. 我正在使用
tf.FixedLengthRecordReader()
读取数据并填充队列。
I am not very clear what is the right way to make sure I am reading the correct data. 我不太清楚确保我读取正确数据的正确方法是什么。 Because, when I am creating my queue/graph - input queue is still empty.
因为,当我创建队列/图形时,输入队列仍然为空。
Where can I create a tf.InteractiveSession()
and try a sess.run(input_image)
to print the actual input and label? 我在哪里可以创建
tf.InteractiveSession()
并尝试sess.run(input_image)
打印实际的输入和标签?
Additionally, I have even tried the latest Tensorflow Debugger tfdbg
and I don't see any logged tensor for inputs. 此外,我什至尝试了最新的Tensorflow调试器
tfdbg
,但没有看到任何记录的张量用于输入。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.