在这个要点的第50行,我收到错误:
You must feed a value for placeholder tensor 'Placeholder' with dtype float and shape [?,784]
[[Node: Placeholder = Placeholder[dtype=DT_FLOAT, shape=[?,784], _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]
我正在运行一个基本的单层线性回归软最大神经网络,但在尝试可视化张量板上的成本时遇到了问题。为什么我无法在第50行检索摘要?
第50行:
cost, summary = sess.run([cross_entropy, merge], feed_dict={x: batch[0],y_: batch[1]})
https://gist.github.com/SamKirkiles/602c7787a9d855b486bbc11232cd7363