mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

Retinaface reimplementation

Open warrentdrew opened this issue 3 years ago • 9 comments

Add more support to widerface face detection and a widely used face detector retinaface.

main modifications include:

  1. add retinaface detection head
  2. add SSH contenxt module used as a neck in retinaface
  3. add RandomSquareCrop to dataset transforms, which is a commonly used augmentation in face detection
  4. modifications on PhotoMetricDistortion, to add a saturate function providing the choice to limit the pixel range within 0 to 255, which seems to be key to the accuracy on widerface
  5. add a retinaface baseline config

warrentdrew avatar Feb 20 '22 06:02 warrentdrew

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 20 '22 06:02 CLAassistant

@warrentdrew Thank you very much for your contribution, we will review it immediately.

hhaAndroid avatar Feb 21 '22 03:02 hhaAndroid

Codecov Report

Merging #7206 (178b9fd) into dev (178b9fd) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 178b9fd differs from pull request most recent head 0ea9665. Consider uploading reports for the commit 0ea9665 to get more accurate results

@@           Coverage Diff           @@
##              dev    #7206   +/-   ##
=======================================
  Coverage   64.67%   64.67%           
=======================================
  Files         351      351           
  Lines       28461    28461           
  Branches     4807     4807           
=======================================
  Hits        18408    18408           
  Misses       9066     9066           
  Partials      987      987           
Flag Coverage Δ
unittests 64.67% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Feb 22 '22 01:02 codecov[bot]

Thanks for your contributions. Please refer to https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md to install pre-commit and fix the lint error.

jbwang1997 avatar Mar 03 '22 04:03 jbwang1997

@warrentdrew Do you have any progress?

hhaAndroid avatar Mar 07 '22 06:03 hhaAndroid

@warrentdrew Do you have any progress?

hi, I have made changes to use wider_face.py in base and fix the init_cfg. For the RandomSquareCrop, I think it's closest to the available MinIoURandomCrop, while changes are still necessary since we want keep all the crop square. I will later try to fix lint errors btw.

warrentdrew avatar Mar 12 '22 16:03 warrentdrew

Hello @warrentdrew. There are also some conflicts and lint errors in this repo that need to solve. Do you have any progress?

jbwang1997 avatar Mar 20 '22 02:03 jbwang1997

Hello @warrentdrew. There are also some conflicts and lint errors in this repo that need to solve. Do you have any progress?

Hi @jbwang1997, thanks for the information. I have now merged the latest code and redo all the commits using the pre-commit tool and fixed the lint errors.

warrentdrew avatar Apr 05 '22 14:04 warrentdrew

Hi @jbwang1997 , Thanks for your comments. I have now reformat the code and merged the new changes and resolved conflicts from master.

warrentdrew avatar Apr 29 '22 08:04 warrentdrew

Hi @warrentdrew!We are grateful for your efforts in helping improve this open-source project during your personal time. Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:) Thank you again for your contribution❤ @warrentdrew

OpenMMLab-Assistant003 avatar Apr 14 '23 02:04 OpenMMLab-Assistant003