Git Product home page Git Product logo

autoavatar's Introduction

AutoAvatar: Autoregressive Neural Fields for Dynamic Avatar Modeling

Ziqian Bai · Timur Bagautdinov · Javier Romero . Michael Zollhöfer · Ping Tan · Shunsuke Saito

ECCV 2022

Logo

AutoAvatar is an autoregressive approach for modeling dynamically deforming human bodies directly from raw scans without the need of precise surface registration.


Paper PDF Project Page video views

Data Preparation of DFaust

  • Create "DFaust" folder under "<workspace_folder>".
cd <workspace_folder>
mkdir DFaust
  • Download SMPL+H parameters of DFaust from AMASS dataset to "<workspace_folder>/DFaust". Unzip to get the "DFaust_67" folder.

  • Download Dfaust scan data from link. Here, we take subject 50002 as an example in the following steps. Unzip data to "<workspace_folder>/DFaust/scans/50002".

  • Download SMPL model from link. Download SMPL meta data from link. Move SMPL related files "basicmodel_m_lbs_10_207_0_v1.0.0.pkl", "basicModel_f_lbs_10_207_0_v1.0.0.pkl", "uv_info.npz", and "smpl_resample_idxs.npz" into "<workspace_folder>/SMPL".

  • clone this repo to "<workspace_folder>".

cd <workspace_folder>
git clone https://github.com/
  • Now we should have the following folder structure:
    \<workspace_folder\>
    ├── DFaust
    │   ├── DFaust_67
    │   │   └── 50002
    │   │       └── *.npz
    │   └── scans
    │       └── 50002
    │           └── \<sequences_folders\>
    ├── SMPL
    |   └── \<SMPL_related_files\>
    └── ImpDyn

Environment Setup

cd ImpDyn
conda create -n impdyn python=3.8
conda activate impdyn
bash setup.sh
  • Create "external" folder and install human_body_prior for DFaust data preprocess.
mkdir external
cd external
git clone https://github.com/nghorbani/human_body_prior.git
cd human_body_prior
python setup.py develop

Data Preprocess

  • Run "DFaust_generate.py" to preprocess data.
cd ImpDyn
export PYTHONPATH=<workspace_folder>/ImpDyn
python data/DFaust_generate.py --ws_dir <workspace_folder>

Train

  • Run "implicit_train_dfaust.py" to train the model.
cd ImpDyn
export PYTHONPATH=<workspace_folder>/ImpDyn
python exps/PosedDecKNN_dPoses_dHs/implicit_train_dfaust.py --ws_dir <workspace_folder> --configs_path configs/PosedDecKNN_dPoses_dHs/AutoRegr.yaml --configs_path_rollout configs/PosedDecKNN_dPoses_dHs/AutoRegr_Rollout2.yaml

Test

  • Run "implicit_eval_dfaust.py" to test the model.
cd ImpDyn
export PYTHONPATH=<workspace_folder>/ImpDyn
python exps/PosedDecKNN_dPoses_dHs/implicit_eval_dfaust.py --ws_dir <workspace_folder> --ckpt_dir <checkpoint_folder>

Pretrained Model

  • Download pretrained model for DFaust subject 50002 from link.

Publication

If you find our code or paper useful, please consider citing:

@inproceedings{bai2022autoavatar,
  title={AutoAvatar: Autoregressive Neural Fields for Dynamic Avatar Modeling},
  author={Bai, Ziqian and Bagautdinov, Timur and Romero, Javier and Zollh{\"o}fer, Michael and Tan, Ping and Saito, Shunsuke},
  booktitle={European conference on computer vision},
  year={2022},
}

License

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

autoavatar's People

Contributors

shunsukesaito avatar

Watchers

 avatar  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.