stevenpawley / Pyspatialml

Machine learning modelling for spatial data
GNU General Public License v3.0
145 stars 29 forks source link

Numpyerror #50

Closed gbganalyst closed 4 months ago

gbganalyst commented 8 months ago

As venka-foss4g suggested, I have modified line 2563 of raster.py to:

pixel_indices = np.zeros(0, dtype=np.int_)

As numpy.int has been removed in NumPy >= 1.24

https://stackoverflow.com/questions/74946845/attributeerror-module-numpy-has-no-attribute-int and also edited the grammatical error in the README file.

stevenpawley commented 4 months ago

Thank you - long hiatus on my part but I'm coming back to start working again on this project now - thanks for the contribution.