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

'numpy.ndarray' object has no attribute 'interp' #577

Closed
kongdd opened this issue Oct 17, 2023 · 2 comments
Closed

'numpy.ndarray' object has no attribute 'interp' #577

kongdd opened this issue Oct 17, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@kongdd
Copy link
Contributor

kongdd commented Oct 17, 2023

A small bug:

In L3699, np_array.interp should be np.interp, as the 'numpy.ndarray' object has no attribute 'interp'.

np_array.interp(np_array, (np_array.min(), np_array.max()), (0, 255)).astype(

image

image

@kongdd kongdd added the bug Something isn't working label Oct 17, 2023
@giswqs
Copy link
Member

giswqs commented Oct 17, 2023

Good catch. I would encourage you to submit a pull request to fix this so that you can be recognized as a contributor to the project.

@kongdd
Copy link
Contributor Author

kongdd commented Oct 17, 2023

Thank you. PR is pushed.

@kongdd kongdd closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants