Build your own ArcFace, CenterFace/Centernet
Build your own face model step by step, with blogs written in Chinese.
Build Your Own Face Recognition Model
Build Your Own Face Detection Model
for detection, you may find DBFace repo helpful.