A PyTorch Implementation of FaceBoxes: A CPU Real-time Face Detector with High Accuracy
I train faceboxes with pytorch which approachs the official code,the final model can be downloaded in faceboxes.pytorch, the ap in AFW,PASCAL_FACE and FDDB as following:
AFW | PASCAL | FDDB |
---|---|---|
98.32 | 96.35 | 95.2 |
- pytorch 0.3
- opencv
- numpy
- easydict
- download WIDER face dataset
- modify data/config.py
python prepare_wider_data.py
python train.py --lr 0.001
according to yourself dataset path,modify data/config.py,the evalution way is same with the official code
- Evaluate on AFW.
python tools/afw_test.py
- Evaluate on FDDB
python tools/fddb_test.py
- Evaluate on PASCAL face
python tools/pascal_test.py
- Test image
python demo.py