Skip to content

DangBowen-Bell/EgoBody_Challenge_Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Human Reconstruction

Code repository for our solution to the EgoBody Challenge held by HBHA workshop at ECCV 2022 .

In this repository, we explore some effective data augmentations to improve the model generalization of 3D human pose and shape estimation from a single egocentric image.

Install

Our code is mainly based on SPIN, please refer to this repository for the installation of the environment.

Data

You need to download the following data to start the experiment:

  • EgoBody dataset
  • Some essential data from SPIN (in the data directory)
  • Pre-trained model from EFT

Then you need to specify their paths in config.py.

You also need to generate the 2D keypoints for calculating 2D joint loss by running:

python keypoints.py

The generated 2D keypoints data will save as .npy file for easy loading.

Train

You can train on the EgoBody dataset using pre-trained model by running:

python train.py --name exp_name --pretrained_checkpoint=/path/to/pre-tained/model.pt

The checkpoints and tensorboard files will be saved in the logs directory by default.

Please refer to the train_options.py for adding more data augmentations and setting other parameters.

You can download our best model here.

Reference

The majority of this repository is borrowed from SPIN. We also use some functions from EFT and EgoBody. Thank these authors for their great work.

Releases

No releases published

Packages

No packages published

Languages