RetinaFace face detection with landmarks. How to train landmarks when not all data is labeled?

Yes, faces without groundtruth were set to have landmarks regression loss to 0. This way they never went to OHEM (online hard examples mining) and didn’t participate in total loss. The model trained pretty well.
There are some good pytorch and tensorflow re-implementations on github, if you want to read code and go into details.

1 Like