Skip to content
/ DFC Public

Source code for our Heatmap-Guided Balanced Deep Family Classification in The Wild

Notifications You must be signed in to change notification settings

deckyal/DFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFC

This the repository of our Heatmap-Guided Balanced Deep Convolution Networks for Family Classification in the Wild.

Requirements :

  1. PyTorch GPU https://pytorch.org/
  2. Tensorflow GPU https://www.tensorflow.org/install
  3. FIW Dataset a. : from https://competitions.codalab.org/competitions/20196#participate-get_data (you may need to register) b. original data from https://web.northeastern.edu/smilelab/fiw/download.html

This repository holds :

  1. The image normalizer from : https://github.com/deckyal/FADeNN
  2. The facial landmark localiser from : https://github.com/deckyal/RT

Usage :

Replicate the 2nd challenge of RFIW (https://web.northeastern.edu/smilelab/RFIW2019/)

Preparations

  1. Put the FIW data on images/ (ex : /DFC/images/FIDs/F0001/MID1)
  2. Put the test_no_labels.list on the main folder :DFC/
  3. Run the LandmarkingHeatmap to get the corresponding denoised image and the facial heatmaps

python Reproduce.py

The corresponding CSV will be on the ./models

Replicate the 5 cross validation test of Family classification in the wild (FIW) https://web.northeastern.edu/smilelab/fiw/benchmarks.html

Preparations

  1. Put the FIWNews data on images/ (ex : /DFC/images/FIDsNew/F0001/MID1)
  2. Download the five validation split from : https://web.northeastern.edu/smilelab/fiw/download.html and put on the /DFC/cl-info/ folder
  3. Run the LandmarkingHeatmap to get the corresponding denoised image and the facial heatmaps
  4. Change testFold in line 124 of Validate pre, ex testFold = 0 signifies the fold 1 test (0~4, fold 1 to 5)

python ReproduceFIW.py

The corresponding CSV will be on the ./models

Citation :

Heatmap-Guided Balanced Deep Convolution Networks for Family Classification in the Wild. [In Recognizing Families In the Wild (RFIW) workshop in conjunction with FG 2019, 2019 May 14, Lille, France]

About

Source code for our Heatmap-Guided Balanced Deep Family Classification in The Wild

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages