gavinyuan commited on
Commit
69059e0
·
1 Parent(s): c69e759

update: PIPNet

Browse files
third_party/PIPNet/FaceBoxesV2/utils/nms/cpu_nms.pyx CHANGED
@@ -26,7 +26,7 @@ def cpu_nms(np.ndarray[np.float32_t, ndim=2] dets, np.float thresh):
26
 
27
  cdef int ndets = dets.shape[0]
28
  cdef np.ndarray[np.int_t, ndim=1] suppressed = \
29
- np.zeros((ndets), dtype=np.int)
30
 
31
  # nominal indices
32
  cdef int _i, _j
 
26
 
27
  cdef int ndets = dets.shape[0]
28
  cdef np.ndarray[np.int_t, ndim=1] suppressed = \
29
+ np.zeros((ndets), dtype=np.int32)
30
 
31
  # nominal indices
32
  cdef int _i, _j