GithubHelp home page GithubHelp logo

fyhtea / danet-3dhumanreconstrution Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hongwenzhang/danet-densepose2smpl

1.0 1.0 0.0 641 KB

Code for "Learning 3D Human Shape and Pose from Dense Body Parts"

Home Page: https://hongwenzhang.github.io/dense2mesh

Python 99.52% Shell 0.48%

danet-3dhumanreconstrution's Introduction

Learning 3D Human Shape and Pose from Dense Body Parts

This repository includes the PyTorch code of the network described in Learning 3D Human Shape and Pose from Dense Body Parts.

Project Page

Requirements

  • python 2.7

packages

necessary files

DensePose UV data

  • Run the following script to fetch DensePose UV data.
bash get_densepose_uv.sh

SMPL model files

After collecting the above necessary files, the directory structure of ./data is expected as follows.

./data
├── UV_data
│   ├── UV_Processed.mat
│   └── UV_symmetry_transforms.mat
└── SMPL_data
    ├── basicModel_f_lbs_10_207_0_v1.0.0.pkl
    ├── basicmodel_m_lbs_10_207_0_v1.0.0.pkl
    └── basicModel_neutral_lbs_10_207_0_v1.0.0.pkl

Demo

  1. Download the pre-trained model (trained on Human3.6M and DensePose-COCO) and put it into the ./data/pretrained_model directory.

  2. Run the demo code. Using --use_opendr if the opendr package is successfully installed.

python demo.py  --cfg configs/danet_demo.yaml --load_ckpt ./data/pretrained_model/danet_model_h36m_cocodp.pth --img_dir ./imgs --use_opendr
  1. View visualization results in ./output. Results are organized (from left to right) as the input image, the estimated IUV maps (global and partial), the rendered IUV of the predicted SMPL model, the predicted SMPL model (front and side views).

Citation

If this work is helpful in your research, please cite the following papers.

@inproceedings{zhang2019danet,
  title={DaNet: Decompose-and-aggregate Network for 3D Human Shape and Pose Estimation},
  author={Zhang, Hongwen and Cao, Jie and Lu, Guo and Ouyang, Wanli and Sun, Zhenan},
  booktitle={Proceedings of the 27th ACM International Conference on Multimedia},
  pages={935--944},
  year={2019},
  organization={ACM}
}

@article{zhang2019learning,
  title={Learning 3D Human Shape and Pose from Dense Body Parts},
  author={Zhang, Hongwen and Cao, Jie and Lu, Guo and Ouyang, Wanli and Sun, Zhenan},
  journal={arXiv preprint arXiv:1912.13344},
  year={2019}
}

Acknowledgments

The code is developed upon the following projects. Thanks to the original authors.

danet-3dhumanreconstrution's People

Contributors

hongwenzhang avatar

Stargazers

 avatar

Watchers

 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.