【Python】raise ValueError("Too many dimensions: %d > %d." % (ndim, ndmax))问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lyq_12/article/details/85157314
example, l = sess.run([image,label])#在会话中取出image和label
img=Image.fromarray(example, 'P')  #这里Image是之前提到的

代码运行到上面两行时,出现如下错误:

暂时还在研究为什么出错,等搞明白会继续更新原因和解决办法。有明白的欢迎指。

猜你喜欢

转载自blog.csdn.net/lyq_12/article/details/85157314