|
tp_sum = np.cumsum(tps, axis=1).astype(dtype=np.float) |
|
fp_sum = np.cumsum(fps, axis=1).astype(dtype=np.float) |
As descriped at upstream:
np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself.
see also lvis-dataset/lvis-api#37
cocoapi/lvis/lvis/eval.py
Lines 357 to 358 in 01f805c
As descriped at upstream:
see also lvis-dataset/lvis-api#37