face-alignment icon indicating copy to clipboard operation
face-alignment copied to clipboard

Can retinaface be used instead of sfd?

Open Coderx7 opened this issue 5 years ago • 4 comments

Is it possible to use RetinaFace instead of SFD ?

Coderx7 avatar Jan 08 '20 11:01 Coderx7

Yes, I succeed in adding RetinaFace into the detector folder and use it instead of SFD. You need to read how the SFD part is written, copy the SFD folder, rename it to retina, and change the init.py, do your replacement in the retina_detector.py file... and so on. Just follow how the SFD is implemented and imitate it.

miracleyoo avatar Mar 05 '20 15:03 miracleyoo

@miracleyoo if you have time, feel free to make a pull request :)

1adrianb avatar Mar 05 '20 17:03 1adrianb

Sure :) Then I need to clean up the code and figure out how to use torch utils load_url since I put the model in my local space directly now lol.

miracleyoo avatar Mar 05 '20 18:03 miracleyoo

@miracleyoo Did you get a chance to make a PR for retina ? :) Thank you!

ibadamimarz avatar Jan 17 '21 20:01 ibadamimarz