IndexError: too many indices for array

1,381 阅读1分钟

应该传入的是二维的列表,但是你给的是一维的!

可以打印出list.shape()出来看看!