我从昨天开始学习python,在学习了一些基础知识之后,我尝试编写代码。如果我不了解基本知识,我就不能继续下去了。看看我的代码,请向我解释一下我的错误。x=input() print("the number is 10") print("the number is morethan 10") print(&quo
我是Tensorflow的新手,我一直在尝试通过阅读tensorflow.org上的指南和文档来掌握基础知识我已经将原始的python脚本更改为使用Dataset.from_tensor_slices而不是numpy_input_fn,但是我在评估阶段遇到了这个错误。(虽然不是在训练阶段)
ValueError: Can not squeeze dim[1], expected a dimension