In the latest release of NumPy (2.0), the np.sctypes attribute has been removed. As a result, the following code in the imgaug library causes an AttributeError:
Feel free to fill in the Python version and operating system, then copy and paste this into a new issue on the GitHub repository. Let me know if you need any more help!
In the latest release of NumPy (2.0), the
np.sctypes
attribute has been removed. As a result, the following code in theimgaug
library causes anAttributeError
:This issue can be found in the following link: Problematic code
I think modifying the code to directly reference NumPy's dtypes instead of using
np.sctypes
. For example:Feel free to fill in the Python version and operating system, then copy and paste this into a new issue on the GitHub repository. Let me know if you need any more help!