/eft

visualization code for 3D human body annotation by EFT (Exemplar Fine-tuning)

Primary LanguagePythonOtherNOASSERTION

This repository contains pseudo-GT 3D human pose data produced by Exemplar Fine-Tuning (EFT) method for in-the-wild 2D images. The 3D pose data is in the form of SMPL parameters, and this can be used as a supervision to train a 3D pose estimation algiritm (e.g., SPIN or HMR). We found that our EFT dataset is sufficient to build a model that is comparable to the previous SOTA algorithms without using any other indoor 3D pose dataset. See our paper for more details.

Teaser Image Teaser Image

Installing Requirements

It is convenient and safe to use conda environment

conda create -n venv_eft python=3.6
conda activate venv_eft
pip install -r requirements.txt

Download EFT Fitting data (json formats)

This repository only provides corresponding SMPL parameters for public 2D keypoint datasets (such as COCO, MPII). You need to download images from the original dataset website.

Run the following script to download our EFT fitting data:

sh scripts/download_eft.sh 
  • The EFT data will be saved in ./eft_fit/(DB_name).json. Each json file contains a version EFT fitting for a public dataset.
  • See Data Format for details
  • Currently available EFT fitting outputs (cvpr submit version):
    • COCO2014-All-ver01.json: COCO 2014 training set. 79051 samples, selecting the samples 6 keypoints or more keypoints are annotated.
    • COCO2014-Part-ver01.json: COCO 2014 training set (a subset). 28344 samples, selecting the sample that all 12 limb keypoints are annotated.
    • MPII_ver01.json : MPII Keypoint Dataset
    • LSPet_ver01.json : LSPet Dataset
    • Panoptic: TBA

Download Other Required Data

  • SMPL Model (Neutral model: basicModel_neutral_lbs_10_207_0_v1.0.0.pkl):

    • Download in the original website. You need to register to download the SMPL data.
    • Put the file in: ./extradata/smpl/basicModel_neutral_lbs_10_207_0_v1.0.0.pkl
  • Densepose (optional, for Densepose rendering):

    • Run the following script
        sh scriptsdownload_dp_uv.sh    
    
    • Files are saved in ./extradata/densepose_uv_data/

Download Images from Original Public DB website

Visualize EFT Fitting Results

Citation

@article{joo2020eft,
  title={Exemplar Fine-Tuning for 3D Human Pose Fitting Towards In-the-Wild 3D Human Pose Estimation},
  author={Joo, Hanbyul and Neverova, Natalia and Vedaldi, Andrea},
  journal={arXiv preprint arXiv:2004.03686},
  year={2020}
}

License

CC-BY-NC 4.0. See the LICENSE file.