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

Use of np.float and np.int etc #71

Open
psteinb opened this issue Feb 6, 2023 · 0 comments · May be fixed by #72
Open

Use of np.float and np.int etc #71

psteinb opened this issue Feb 6, 2023 · 0 comments · May be fixed by #72

Comments

@psteinb
Copy link

psteinb commented Feb 6, 2023

Thanks @Gabri95 et al for providing this library. I however discovered a small bug, that makes e2cnn unusable with any numpy version higher or equal to 1.24.

The numpy team deprecated the np.float and np.int and np.bool aliases to the respective python internals.
numpy.org/doc/stable/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated
From numpy 1.24 and higher, their use produces an error which makes the example given in the README.md break immediately.

This is a doublicate of QUVA-Lab/escnn#25 but for this library.

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

Successfully merging a pull request may close this issue.

1 participant