https://github.com/lvis-dataset/lvis-api/blob/da5f65d16237637d848a51713556c48ca521bc18/lvis/eval.py#L361-L362 As descriped at [upstream](https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations): > `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself.