是否遇到过ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (349, 2) + inhomogeneous part.这种报错
通常出现在numpy.array()附近
可能是numpy版本太高导致的
同样的代码在numpy1.24.1下就会报这种错,在numpy1.22.3下就正常运行