Home

Awesome

face.evoLVe: High-Performance Face Recognition Library based on PaddlePaddle & PyTorch

AuthorJian Zhao
Homepagehttps://zhaoj9014.github.io

License

The code of face.evoLVe is released under the MIT License.


News

:white_check_mark: CLOSED 02 September 2021: Baidu PaddlePaddle officially merged face.evoLVe to faciliate researches and applications on face-related analytics (Official Announcement).

:white_check_mark: CLOSED 03 July 2021: Provides training code for the paddlepaddle framework.

:white_check_mark: CLOSED 04 July 2019: We will share several publicly available datasets on face anti-spoofing/liveness detection to facilitate related research and analytics.

:white_check_mark: CLOSED 07 June 2019: We are training a better-performing IR-152 model on MS-Celeb-1M_Align_112x112, and will release the model soon.

:white_check_mark: CLOSED 23 May 2019: We share three publicly available datasets to facilitate research on heterogeneous face recognition and analytics. Please refer to Sec. Data Zoo for details.

:white_check_mark: CLOSED 23 Jan 2019: We share the name lists and pair-wise overlapping lists of several widely-used face recognition datasets to help researchers/engineers quickly remove the overlapping parts between their own private datasets and the public datasets. Please refer to Sec. Data Zoo for details.

:white_check_mark: CLOSED 23 Jan 2019: The current distributed training schema with multi-GPUs under PyTorch and other mainstream platforms parallels the backbone across multi-GPUs while relying on a single master to compute the final bottleneck (fully-connected/softmax) layer. This is not an issue for conventional face recognition with moderate number of identities. However, it struggles with large-scale face recognition, which requires recognizing millions of identities in the real world. The master can hardly hold the oversized final layer while the slaves still have redundant computation resource, leading to small-batch training or even failed training. To address this problem, we are developing a highly-elegant, effective and efficient distributed training schema with multi-GPUs under PyTorch, supporting not only the backbone, but also the head with the fully-connected (softmax) layer, to facilitate high-performance large-scale face recognition. We will added this support into our repo.

:white_check_mark: CLOSED 22 Jan 2019: We have released two feature extraction APIs for extracting features from pre-trained models, implemented with PyTorch build-in functions and OpenCV, respectively. Please check ./util/extract_feature_v1.py and ./util/extract_feature_v2.py.

:white_check_mark: CLOSED 22 Jan 2019: We are fine-tuning our released IR-50 model on our private Asia face data, which will be released soon to facilitate high-performance Asia face recognition.

:white_check_mark: CLOSED 21 Jan 2019: We are training a better-performing IR-50 model on MS-Celeb-1M_Align_112x112, and will replace the current model soon.


Contents


face.evoLVe for High-Performance Face Recognition

Introduction

:information_desk_person:

<img src="https://github.com/ZhaoJ9014/face.evoLVe/blob/master/disp/Fig1.png" width="450px"/> <img src="https://github.com/ZhaoJ9014/face.evoLVe/blob/master/disp/Fig17.png" width="400px"/>


Pre-Requisites

:cake:

While not required, for optimal performance it is highly recommended to run the code using a CUDA enabled GPU. We used 4-8 NVIDIA Tesla P40 in parallel.


Usage

:orange_book:


Face Alignment

:triangular_ruler:

<img src="https://github.com/ZhaoJ9014/face.evoLVe/blob/master/disp/Fig2.png" width="900px"/> <img src="https://github.com/ZhaoJ9014/face.evoLVe/blob/master/disp/Fig3.png" width="500px"/>

Data Processing

:bar_chart:


Training and Validation

:coffee:


Data Zoo

:tiger:

DatabaseVersion#Identity#Image#Frame#VideoDownload Link
LFWRaw5,74913,233--Google Drive, Baidu Drive
LFWAlign_250x2505,74913,233--Google Drive, Baidu Drive
LFWAlign_112x1125,74913,233--Google Drive, Baidu Drive
CALFWRaw4,02512,174--Google Drive, Baidu Drive
CALFWAlign_112x1124,02512,174--Google Drive, Baidu Drive
CPLFWRaw3,88411,652--Google Drive, Baidu Drive
CPLFWAlign_112x1123,88411,652--Google Drive, Baidu Drive
CASIA-WebFaceRaw_v110,575494,414--Baidu Drive
CASIA-WebFaceRaw_v210,575494,414--Google Drive, Baidu Drive
CASIA-WebFaceClean10,575455,594--Google Drive, Baidu Drive
MS-Celeb-1MClean100,0005,084,127--Google Drive
MS-Celeb-1MAlign_112x11285,7425,822,653--Google Drive
Vggface2Clean8,6313,086,894--Google Drive
Vggface2_FPAlign_112x112----Google Drive, Baidu Drive
AgeDBRaw57016,488--Google Drive, Baidu Drive
AgeDBAlign_112x11257016,488--Google Drive, Baidu Drive
IJB-AClean5005,39620,3692,085Google Drive, Baidu Drive
IJB-BRaw1,84521,79855,0267,011Google Drive
CFPRaw5007,000--Google Drive, Baidu Drive
CFPAlign_112x1125007,000--Google Drive, Baidu Drive
UmdfacesAlign_112x1128,277367,888--Google Drive, Baidu Drive
CelebARaw10,177202,599--Google Drive, Baidu Drive
CACD-VSRaw2,000163,446--Google Drive, Baidu Drive
YTFAlign_344x3441,595-3,425621,127Google Drive, Baidu Drive
DeepGlintAlign_112x112180,8556,753,545--Google Drive
UTKFaceAlign_200x200-23,708--Google Drive, Baidu Drive
BUAA-VisNirAlign_287x2871505,952--Baidu Drive, PW: xmbc
CASIA NIR-VIS 2.0Align_128x12872517,580--Baidu Drive, PW: 883b
Oulu-CASIARaw8065,000--Baidu Drive, PW: xxp5
NUAA-ImposterDBRaw1512,614--Baidu Drive, PW: if3n
CASIA-SURFRaw1,000--21,000Baidu Drive, PW: izb3
CASIA-FASDRaw50--600Baidu Drive, PW: h5un
CASIA-MFSDRaw50--600
Replay-AttackRaw50--1,200
WebFace260MRaw24M2M-https://www.face-benchmark.org/

Model Zoo

:monkey:


Achievement

:confetti_ball:


Acknowledgement

:two_men_holding_hands:


Citation

:bookmark_tabs: