imgaug icon indicating copy to clipboard operation
imgaug copied to clipboard

imgaug not compatible with numpy 2.0.1

Open sggupte opened this issue 1 year ago • 1 comments

When I try to import imgaug with python 3.10.12 and numpy version 2.0.1, code in imgaug at these lines throws the following Attribute error.

np.sctypes was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?

Downgrading numpy back to numpy v1 is a quick fix but not ideal.

sggupte avatar Aug 09 '24 18:08 sggupte

Looks like it's handled in this PR https://github.com/aleju/imgaug/pull/854

nmerrillq avatar Sep 10 '24 21:09 nmerrillq