NMS implementation
woctezuma opened this issue · 1 comments
woctezuma commented
I see that you use a custom Python implementation for NMS.
facexlib/facexlib/detection/retinaface_utils.py
Lines 38 to 66 in 206e0cc
Moreover, the requirements of this repository include torchvision
:
Line 9 in 206e0cc
I wonder whether it would be beneficial to use torchvision
's implementation of NMS instead. cf. torchvision.ops.nms
I had this idea after a quick discussion in another repository: ternaus/retinaface#23 (comment)
xinntao commented
@woctezuma
Thanks for your suggestion.
It is a good improvement.
I am busy these days and may improve it later.
It would be great if you can help it and open a PR 😃