Home

Awesome

TRUST: Towards Racially Unbiased Skin Tone Estimation via Scene Disambiguation (ECCV2022)

<p align="center"> <img src="teaser_final_v5_font_change.JPG"> </p>

This is the official Pytorch implementation of TRUST.

Please refer to the arXiv paper for more details.

Getting Started

Clone the repo:

git clone https://github.com/HavenFeng/TRUST/
cd TRUST

Requirements

Usage

  1. Prepare data & models

    Please check our project website to download the FAIR benchmark dataset and our released pretrained models.
    After downloading the pretrained models, put them in ./data

  2. Run test
    a. FAIR benchmark

    python test.py --test_folder '/path/to/trust_models' --test_split val
    

    change the test_split flag to run on test set or validation set.

Evaluation

TRUST (ours) achieves 57% lower error of the total score (35% lower on Average ITA error, 77% lower on Bias error), on the FAIR Challenge compared to the previous state-of-the-art method.

For more details of the evaluation, please check our arXiv paper.

Citation

If you find our work useful to your research, please consider citing:

@inproceedings{Feng:TRUST:ECCV2022,
  title = {Towards Racially Unbiased Skin Tone Estimation via Scene Disambiguation}, 
  author = {Feng, Haiwen and Bolkart, Timo and Tesch, Joachim and Black, Michael J. and Abrevaya, Victoria}, 
  booktitle = {European Conference on Computer Vision}, 
  year = {2022}
}

Notes

Training code will also be released in the future.

License

This code and model are available for non-commercial scientific research purposes as defined in the LICENSE file. By downloading and using the code and model you agree to the terms in the LICENSE.

Acknowledgements

For functions or scripts that are based on external sources, we acknowledge the origin individually in each file.
Here are some great resources we benefit:

We would also like to thank other recent public 3D face reconstruction works that allow us to easily perform quantitative and qualitative comparisons :)
DECA, Deep3DFaceReconstruction, GANFit, INORig, MGCNet

This work was partly supported by the German Federal Ministry of Education and Research (BMBF): Tuebingen AI Center, FKZ: 01IS18039B