Skip to content

NumPy ≥1.24 breaks imgaug due to removed alias np.bool #1

Description

@EtienneFeyrer

Description:
imgaug fails when used with NumPy ≥1.24 because deprecated aliases like np.bool were removed. This causes runtime errors in augmentation pipelines.

AttributeError: module 'numpy' has no attribute 'bool'

Cause:
NumPy 1.24 removed several long‑deprecated aliases. imgaug has not yet been updated to replace them.

Workaround :
Pin NumPy to 1.23.5, which still includes the deprecated aliases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions