Cannot interpret feed_dict key as Tensor: Tensor Tensor("input_x:0", shape=(?, 2), dtype=float32)

Tensorflow 报错

Cannot interpret feed_dict key as Tensor: Tensor Tensor("input_x:0", shape=(?, 2), dtype=float32) is not an element of this graph.



当在代码中加入

tf.reset_default_graph 会出现上述错误,去掉这一行后,正常

相关问题可以查看下面的文章

http://blog.csdn.net/ztf312/article/details/72859075

你可能感兴趣的:(深度学习通识)