Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesnt support latestversion of numpy #834

Open
navidstuv opened this issue Jun 13, 2023 · 2 comments
Open

It doesnt support latestversion of numpy #834

navidstuv opened this issue Jun 13, 2023 · 2 comments

Comments

@navidstuv
Copy link

navidstuv commented Jun 13, 2023

https://github.com/aleju/imgaug/blob/0101108d4fed06bc5056c4a03e2bcb0216dac326/imgaug/augmenters/meta.py#LL3387C8-L3387C73

np.bool_

@navidstuv navidstuv changed the title It doesnt support lated version of numpy It doesnt support latestversion of numpy Jun 13, 2023
@ChenYu-K
Copy link

I have the same issue, like follows error

AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

@setzin
Copy link

setzin commented Feb 21, 2024

Have you solved this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants