PyTorch implementation of MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices. paper.
- Black-and-white photos for training/validation.
- Retinaface & similarity transform for face alignment.
- Lightweight: Params size (MB): 0.95, FLOPs size (GB): 0.24.
Accuracy | LFW | Download |
---|---|---|
paper | 99.55% | |
ours | 99.45% | Link |
Refined MS-Celeb-1M dataset for training, 5,179,510 faces over 93,431 identities. LFW datasets for testing.
- Python 3.6.8
- PyTorch 1.3.0
Extract images:
$ python extract.py
$ python pre_process.py
$ python train.py
To visualize the training process:
$ tensorboard --logdir=runs