Coder Social home page Coder Social logo

dcq's Introduction

Introduction

DCQ (Dynamic Class Queue) is a state-of-the-art face recognition method for training million-IDs datasets.

This repo is the official implementation for CVPR 2021 paper: Dynamic Class Queue for Large Scale Face Recognition In the Wild. [paper]

News

!!! Research Intern Wanted. Send CV to libi01[AT]baidu.com.

2021-08-14: We are the champion of CSIG FAT-AI 2021 masked face recognition challenge. Details

2021-08-03: Initial code release.

Quick Start

Prerequisite

Install PaddlePaddle 2.1

https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html

Download the MS1MV2 dataset and common test benchmarks via BaiduYun

url: https://pan.baidu.com/s/1PYY3h-jEVURWwQYvLzE3Mg password: m2m8

# untar file
cat xaa xab xac xad xae | tar xf -

Training

# Train iresnet50
bash train_scripts/train_dcq_ir50_q8192_ms1mv2.sh

# Train iresnet100
bash train_scripts/train_dcq_ir100_q8192_ms1mv2.sh

Evaluation

data_root=./DCQ_train_test_data/common_test_benchmarks
model=Logs/dcq_ires50_q8192_ms1mv2
epoch=19
python eval/eval_verification.py $model $epoch --save-prefix lfw --filelist '$data_root/lfw.filelist' --label-path '$data_root/lfw_label.npy'
python eval/eval_verification.py $model $epoch --save-prefix cplfw --filelist '$data_root/cplfw.filelist' --label-path '$data_root/cplfw_label.npy'
python eval/eval_verification.py $model $epoch --save-prefix agedb_30 --filelist '$data_root/agedb_30.filelist' --label-path '$data_root/agedb_30_label.npy'

Contributing

Main contributors:

  • Bi Li
  • Jianwei Li
  • Nan Peng

Credit

This code is largely based on moco and face.evoLVe.

Citation

@InProceedings{Li_2021_CVPR,
    author    = {Li, Bi and Xi, Teng and Zhang, Gang and Feng, Haocheng and Han, Junyu and Liu, Jingtuo and Ding, Errui and Liu, Wenyu},
    title     = {Dynamic Class Queue for Large Scale Face Recognition in the Wild},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2021},
    pages     = {3763-3772}
}

dcq's People

Contributors

bilylee avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.