Giter VIP home page Giter VIP logo

synthdistill's Introduction

SynthDistill: Face Recognition with Knowledge Distillation from Synthetic Data

PWC PWC PWC PWC PWC

arXiv

This repository contains the source code to train SynthDistill: Face Recognition with Knowledge Distillation from Synthetic Data (IJCB 2023). You can access arxiv version here.

Installation

The installation instructions are based on conda and Linux systems. Therefore, please install conda before continuing. For installation, please download the source code of this paper and unpack it. Then, you can create a conda environment with the following command:

$ cd synthdistill

# create the environment
$ conda env create -f environment.yml

# activate the environment
$ conda activate synthdistill  

In our knoeledge distillation framework, we use StyleGAN as a pretrained face generator network. Therefore, you need to clone StyleGAN repository and download its model weights:

$ git clone https://github.com/NVlabs/stylegan3

NOTE: For downloading pretrained StyleGAN, please visit the official page and download stylegan2-ffhq-256x256.pkl model.

Training models

To train models, you can use the following command:

$ python train.py --model TinyFaR_A --resampling_coef 1.0

Pre-trained models (SynthDistill)

Checkpoints of trained models (TinyFaR-A, TinyFaR-B, and TinyFaR-C) using SynthDistill are available in the official repository:

Reference

If you use this repository, please cite the following paper, which is published in the proceedings of 2023 IEEE International Joint Conference on Biometrics (IJCB 2023). The PDF version of the paper is available as pre-print on arxiv. The complete source code for reproducing all experiments in the paper (including evlauation instructions) is also publicly available in the official repository.

@inproceedings{synthdistill_IJCB2023,
  title={SynthDistill: Face Recognition with Knowledge Distillation from Synthetic Data},
  author={Otroshi Shahreza, Hatef and George, Anjith and Marcel, S{\'e}bastien},
  booktitle={2023 IEEE International Joint Conference on Biometrics (IJCB)},
  year={2023},
  organization={IEEE}
}

synthdistill's People

Contributors

otroshi 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.