Skip to content

running on pytorch 2.10 #43

@violeta7

Description

@violeta7

I cannot insist that this is always correct, but in my case, the code runs well in pytorch 2.10 environment after modifying it as follows

  1. ./FaceBoxes/utils/nms/cpu_nms.pyx:27

cdef np.ndarray[np.int_t, ndim=1] order = np.ndarray(scores.argsort()[::-1], dtype=np.int32)
--> cdef np.ndarray[np.intp_t, ndim=1] order = scores.argsort()[::-1]

  1. ./FaceBoxes/utils/nms/cpu_nms.pyx:31

cdef np.ndarray[np.int_t, ndim=1] suppressed =
--> cdef np.ndarray[np.intp_t, ndim=1] suppressed = \

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions