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版本