You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the Python evaluation with Numpy 1.20 I get this DeprecationWarning in cocoeval.py line 378 and 379:
/pycocotools/cocoeval.py:378: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
tp_sum = np.cumsum(tps, axis=1).astype(dtype=np.float)
When I run the Python evaluation with Numpy 1.20 I get this DeprecationWarning in cocoeval.py line 378 and 379:
Please see the Numpy Documentation for details.
The
np.float
should exchanged forfloat
.The text was updated successfully, but these errors were encountered: