module ‘numpy‘ has no attribute ‘object‘.

np.object was a deprecated alias for the builtin object. To avoid this error in existing code, use object by itself. Doing this will not modify any behavior and is safe.
高版本的numpy np.object弃用了,把np.object改成object,或者降低numpy版本

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
xiaoxingxing的头像xiaoxingxing管理团队
上一篇 2023年7月13日
下一篇 2023年7月13日

相关推荐