Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'numpy' has no attribute object #29

Open
GeologyAMG opened this issue Sep 6, 2024 · 0 comments
Open

module 'numpy' has no attribute object #29

GeologyAMG opened this issue Sep 6, 2024 · 0 comments

Comments

@GeologyAMG
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant