ShiqiYu / libfacedetection.train

The training program for libfacedetection for face detection and 5-landmark detection.
Apache License 2.0
774 stars 209 forks source link

About the version update in mmdet framework #58

Open cubicimage opened 2 years ago

cubicimage commented 2 years ago

Hi. I saw the new version of libfacedetection.train, which is switched to the mmdet framework. But both the yunet_n.py and yunet_s.py are little bit different from the original model structure. That means the converted libfacedetection-data.cpp will not be compatible with the project libfacedetection, in which libfacedetection-model.cpp has different inferencing code. Then will you update the corresponding cpp code in the project libfacedetection? What should we do if we want to use libfacedetection on new trainning?

Thanks in advance!

fengyuentau commented 2 years ago

cc @Wwupup

Wwupup commented 2 years ago

Hello @cubicimage, libfacedetection repo has been updated first to match this version. You can just train model in this mmdet framework and run python tools/yunet2cpp.py ./configs/yunet_s.py to get the facedetection-data.cpp.

cubicimage commented 2 years ago

Thanks for your reply!