aleju / imgaug

Image augmentation for machine learning experiments.
http://imgaug.readthedocs.io
MIT License
14.43k stars 2.44k forks source link

Replaced all occurrences of np.bool to np.bool_ and np.complex to np.complex_ #840

Open u7122029 opened 1 year ago

u7122029 commented 1 year ago

Some functions from the entire imgaug package are unusable due to the use of deprecated types which appear to have been removed since numpy 1.20.0. This pull request does everything detailed in the title to resolve this issue (#832).

maltempi commented 1 year ago

Hello @aleju, do you have any thoughts on merging this with the main branch?

Thank you!