Open adityapp opened 3 weeks ago
There're also the same problem for other files in project
For example
alignment/coordinate_reg/image_infer.py:
lmk = np.round(lmk).astype(np.int)
detection/scrfd/tools/scrfd.py
x1,y1,x2,y2,score = bbox.astype(np.int)
kp = kp.astype(np.int)
So maybe numpy version must be pinned somehow or all places need to be fixed
updating examples/person_detection/scrfd_person.py to use numpy int32
related issue: https://github.com/deepinsight/insightface/issues/2591