Since numpy 1.18 the num parameter in np.linspace has to be an integer. This led to errors with the cocoapi as reported here and here.
Running eval.py in the lvis-api throws the same error when using numpy 1.18. This pr follows https://github.com/cocodataset/cocoapi/pull/354 to fix the issue in the same way it was fixed for the cocoapi.
Since numpy 1.18 the
num
parameter in np.linspace has to be an integer. This led to errors with the cocoapi as reported here and here.Running
eval.py
in the lvis-api throws the same error when using numpy 1.18. This pr follows https://github.com/cocodataset/cocoapi/pull/354 to fix the issue in the same way it was fixed for the cocoapi.