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

Deprecated numpy type causing error #15

Open
zakiindra opened this issue Aug 6, 2023 · 0 comments
Open

Deprecated numpy type causing error #15

zakiindra opened this issue Aug 6, 2023 · 0 comments

Comments

@zakiindra
Copy link

I was running the create_satellite_data.py from SatNeRF codebase to prepare a dataset for SatNeRF. It is using the bundle_adjust package for handling the bundle adjustment, but it gives this error

AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the Numpy scalar type, use `np.float64` here.
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

I am using this numpy and scipy version:

numpy==1.24.3
scipy==1.10.1

Can you update the code to support newest version of Numpy?
Thank you.

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