tensorflow-train icon indicating copy to clipboard operation
tensorflow-train copied to clipboard

请问,运行时候报如下错误是什么原因呢

Open bboym opened this issue 9 years ago • 1 comments

input: 9 Traceback (most recent call last): File "mnist_softmax.py", line 69, in print("output:",int(res[0]))

IndexError: invalid index to scalar variable.

bboym avatar May 13 '17 10:05 bboym

这个是基于tf7.0做出来的,可能别的版本会出现问题

wlmnzf avatar Jun 29 '17 10:06 wlmnzf