numpy>1.24 transitioned to generic data types (e.g. np.float -> float)
ad12 opened this issue · 1 comments
ad12 commented
Starting numpy==1.20
, numpy generic dtypes such as np.float, np.int, etc. were deprecated. In numpy>=1.24
, support for these dtypes was removed.
short term solution: pin numpy < 1.24
long term solution: To fix this, we need to replace all references to numpy generic dtypes with python dtypes (e.g. np.float
-> 'float'
)