Skip to content

module 'numpy' has no attribute object #29

@GeologyAMG

Description

@GeologyAMG

When I try to run sedinet_train.py via as described in the ReadMe I get this error.

AttributeError: 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.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

As I understand it, it has to do with a change in numpy that has been implemented. Since it recommends that I modify the code, I need a way to search the code where np.object is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions