Git Product home page Git Product logo

dbs's Introduction

DBS: Dynamic human body shape model

Open In Colab

Overview

This project provides a dynamic human body shape model (DBS) based on the state of art sequence modelling structures (LSTM, GRU, TCN). Compared with SMPL and DMPL models, it can better predict the dynamic deformation of human tissues in the case of movements. Different from dynamic models such as DMPL and Dyna, the DBS model uses more historical information and uses a deep sequence model to train a nonlinear function of pose rotation matrices to represent the pose blend shape. In this paper, the DBS model is trained with the Dyna’s 4D scans and AMASS’s parameters, and shows a good training effect. The DBS model can run in a GPU environment and has high computational efficiency. I also wrote animation rendering scripts to better visualize the dynamic deformation of the human body. However, the DBS model also has the problem of uneven human skin, which will be studied in future work.

Sample animation

Features

This implementation:

  • has the training code for DBS implemented purely in PyTorch.
  • can predict body deformations on arbitrary pose sequence from AMASS dataset with multiple subjects.
  • supports both CPU and GPU inference (GPU is recommended).
  • dynamic human body shape vertices predicting speed is up-to 5000 FPS on Tesla K80.
  • includes LSTM, GRU, TCN dynamic blend shape layers, where TCN model's receptive field is 15 time steps, much larger than DMPL and Dyna models.
  • provides script for animations and generating videos.

Google Colab

I provide a script for model training on colab. It provides Tesla T4 GPU for free, which can train the model very quickly. Open In Colab

References

I borrowed some functions and the construction of the SMPL baseline model in pytorch. I used the AMASS dataset and the pre-trained models of SMPL and DMPL. These resources are listed below.

  • SMPL model in pytorch is from SMPL.
  • TCN blocks are borrowed from TCN.
  • Training 4D body scans and some function for animations are borrowed from Dyna.
  • Training parameter data are used from AMASS

dbs's People

Contributors

haoranchen06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dbs's Issues

DBS questions

Hello,
This is great work, and had some questions regarding the work. In what ways is the DBS model better/different from the DMPL model you have. Also is there any publication that is associated with your work? I am trying to include DMPL with a collision system in Unity for real time interaction with dynamics soft blendshapes I would like to know the theory behind your DBS model.
Any help is appreciated.
Thanks!

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.