QUVA-Lab / e2cnn

E(2)-Equivariant CNNs Library for Pytorch
https://quva-lab.github.io/e2cnn/
Other
596 stars 75 forks source link

[Fix] Fix deprecated `np.bool` #65

Closed nijkah closed 1 year ago

nijkah commented 1 year ago

Motivation

np.bool is deprecated which was alias for python bool.

Modification

Replace np.bool with bool.

Please check https://github.com/open-mmlab/mmdetection/pull/9537

zytx121 commented 1 year ago

Hi @Gabri95, Since numpy 1.24.0 don't support np.bool, we need to replace it with bool. Please refer to https://github.com/numpy/numpy/pull/22607