Giter Site home page Giter Site logo

faceattract's Introduction

Facial Attractiveness Prediction

Pytorch code for our paper: Improving facial attractiveness prediction via co-attention learning.

Citation

@inproceedings{shi2019improving,
  title={Improving facial attractiveness prediction via co-attention learning},
  author={Shi, Shengjie and Gao, Fei and Meng, Xuantong and Xu, Xingxin and Zhu, Jingjie},
  booktitle={2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP'19)},
  pages={4045--4049},
  year={2019},
  organization={IEEE}
}

Framework

'framework.jpg'

Code

  • pretrain models are released in pretrain_model. net_cross_1 denotes cross_validation_1,net_cross_2 denotes cross_validation_2, etc.
  • change the infofile and pretrain in option.py and run test.py to check the pretrained model.
  • change the infofile and run main.py to train your own models.
  • Face parsing

Data

  • We use SCUT-FBP5500-Dataset. There are five folders named data1,data2,...,data5 corresponding to 5-folds cross validation.
  • For each validation, 80% samples (4400 images) are used for training and the rest (1100 images) are used for testing.
  • The results folder contains our results(srcc and plcc ) of different dataset splitions.
  • We align the images with 5 points first and then use Face Labling to get face parsing

Results

Ablation

results on SCUT5500

You can also download the same files from Google Drive.

faceattract's People

Contributors

fei-aiart 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.