完美解决TypeError: object of type class 'numpy.float64' cannot be safely interpreted as an integer.

numpy版本问题,降低版本即可
对于我,

numpy 1.18.2 -> numpy 1.17.0

错误解除。。。

原创文章 96 获赞 24 访问量 3万+

猜你喜欢

转载自blog.csdn.net/c2250645962/article/details/105565268