Closed nijkah closed 1 year ago
np.bool is deprecated which was alias for python bool.
np.bool
bool
Replace np.bool with bool.
Please check https://github.com/open-mmlab/mmdetection/pull/9537
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
Motivation
np.bool
is deprecated which was alias for pythonbool
.Modification
Replace
np.bool
withbool
.Please check https://github.com/open-mmlab/mmdetection/pull/9537