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版本
文章出处登录后可见!
已经登录?立即刷新