cython_bbox
cython_bbox copied to clipboard
standalone cython_bbox borrowed from faster-rcnn
with numpy version >=1.20 the np.float is changed to np.float64 which cause error while using the cython_bbox package. So i have fixed it.
Float bug fixed with numpy float64 support.
From __numpy1.24__, np.float is deprecated. __np.float__ should be changed to __np.float64__
changed the code line to fix the issue happens in Numpy>=1.20
np.float was removed in numpy==1.24.0 https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations
fix "AttributeError: module 'numpy' has no attribute 'float'" for Numpy 1.2.0 or above
update to work with numpy 1.24 and higher
Hi! When working with large numbers of bboxes (at least outside of the neural network domain), it is useful to use sparse matrixes (as most bboxes won't overlap). I have...