imgaug
imgaug copied to clipboard
imgaug not compatible with numpy 2.0.1
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.
Looks like it's handled in this PR https://github.com/aleju/imgaug/pull/854