All Projects → BradyFU → DVG

BradyFU / DVG

Licence: MIT license
Dual Variational Generation for Low Shot Heterogeneous Face Recognition, NeurIPS 2019

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DVG

SmooFaceEngine
A high-performance demo for face recognition based on DL. (基于深度学习的高性能人脸识别引擎demo)
Stars: ✭ 101 (+0%)
Mutual labels:  face-recognition
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-61.39%)
Mutual labels:  face-recognition
InsightFace-REST
InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Stars: ✭ 308 (+204.95%)
Mutual labels:  face-recognition
InsightFace
复现 ArcFace 论文
Stars: ✭ 22 (-78.22%)
Mutual labels:  face-recognition
Facial-Recognition-Using-FaceNet-Siamese-One-Shot-Learning
Implementation of Facial Recognition System Using Facenet based on One Shot Learning Using Siamese Networks
Stars: ✭ 104 (+2.97%)
Mutual labels:  face-recognition
ClassifierToolbox
A MATLAB toolbox for classifier: Version 1.0.7
Stars: ✭ 72 (-28.71%)
Mutual labels:  face-recognition
Face-Recognition-Attendance-System
A simple python script that recognises faces and mark attendance for the recognised faces in an excel sheet.
Stars: ✭ 57 (-43.56%)
Mutual labels:  face-recognition
SphereFace
🍑 TensorFlow Code for CVPR 2017 paper "SphereFace: Deep Hypersphere Embedding for Face Recognition"
Stars: ✭ 110 (+8.91%)
Mutual labels:  face-recognition
face-rec-tools
Media library face recognition tools
Stars: ✭ 14 (-86.14%)
Mutual labels:  face-recognition
webFaceID
Use HTML5, Go and Facebox to implement face verification on a website
Stars: ✭ 60 (-40.59%)
Mutual labels:  face-recognition
facenet
Face recognition using Tensorflow
Stars: ✭ 17 (-83.17%)
Mutual labels:  face-recognition
ailia-models
The collection of pre-trained, state-of-the-art AI models for ailia SDK
Stars: ✭ 1,102 (+991.09%)
Mutual labels:  face-recognition
SensorsAndAi
SensorAndAi is an android application which will give you the complete information about all the sensors and some basic information about artificial intelligence.This application will tell you about the use and implementation of the sensor and artificial intelligence.This app will show you how sensor and artificial intelligence is used in any an…
Stars: ✭ 29 (-71.29%)
Mutual labels:  face-recognition
SphereFace-TensorFlow
A TensorFlow implementation for SphereFace!The code can be trained on LFW.
Stars: ✭ 17 (-83.17%)
Mutual labels:  face-recognition
aio-rek
Face recognition based attendance system
Stars: ✭ 19 (-81.19%)
Mutual labels:  face-recognition
GenderRecognizer
Plain Face Detector & Gender Recognizer
Stars: ✭ 57 (-43.56%)
Mutual labels:  face-recognition
loss function search
Loss Function Search for Face Recognition
Stars: ✭ 35 (-65.35%)
Mutual labels:  face-recognition
deepstack-ui
UI for working with Deepstack
Stars: ✭ 115 (+13.86%)
Mutual labels:  face-recognition
Nearest-Celebrity-Face
Tensorflow Implementation of FaceNet: A Unified Embedding for Face Recognition and Clustering to find the celebrity whose face matches the closest to yours.
Stars: ✭ 30 (-70.3%)
Mutual labels:  face-recognition
FaceLivenessDetection-SDK
3D Passive Face Liveness Detection (Anti-Spoofing) & Deepfake detection. A single image is needed to compute liveness score. 99,67% accuracy on our dataset and perfect scores on multiple public datasets (NUAA, CASIA FASD, MSU...).
Stars: ✭ 85 (-15.84%)
Mutual labels:  face-recognition

Dual Variational Generation for Low Shot HFR

A PyTorch code of paper Dual Variational Generation for Low Shot Heterogeneous Face Recognition, written with Xiang Wu.

News

The extension version of DVG is published in IEEE TPAMI 2021 (DVG-Face: Dual Variational Generation for Heterogeneous Face Recognition), and its code is released in https://github.com/BradyFU/DVG-Face. The newly released extension version has more powerful performances than this version.

Prerequisites

  • Python 2.7
  • Pytorch 0.4.1 & torchvision 0.2.1

Train the generator

  • Download LightCNN-29 model (Google Drive) pretrained on the MS-Celeb-1M dataset.
  • Train the generator:
sh run_train_generator.sh
  • Note that this is a simplified version of our original code:
    1. The diversity loss and the adversarial loss in the paper are removed.
    2. The distribution alignment loss is replaced by a Maximum Mean Discrepancy (MMD) loss.
  • The generated results during training will be saved in ./results.

Generate images from noise

  • Use the trained generator to sample 100,000 paired heterogeneous data:
Python val.py --pre_model './model/netG_model_epoch_50_iter_0.pth'
  • The generated fake NIR and VIS images will be saved in ./fake_images/nir_noise and ./fake_images/vis_noise, respectively.

Train the recognition model LightCNN-29

  • Use the real data and the generated fake data to train lightcnn:
sh run_train_lightcnn.sh

Performance

The performance on the 1-fold of CASIA NIR-VIS 2.0 dataset after running the above code:

Rank-1 VR@FAR=0.1% VR@FAR=0.01%
99.9% 99.8% 98.9%

Citation

If you use our code for your research, please cite the following paper:

@article{fu2021dvg,
  title={DVG-face: Dual variational generation for heterogeneous face recognition},
  author={Fu, Chaoyou and Wu, Xiang and Hu, Yibo and Huang, Huaibo and He, Ran},
  journal={IEEE TPAMI},
  year={2021}
}

@inproceedings{fu2019dual,
  title={Dual Variational Generation for Low-Shot Heterogeneous Face Recognition},
  author={Fu, Chaoyou and Wu, Xiang and Hu, Yibo and Huang, Huaibo and He, Ran},
  booktitle={NeurIPS},
  year={2019}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].