Skip to content

NumPy, TensorFlow and PyTorch implementation of human body SMPL model and infant body SMIL model.

License

Notifications You must be signed in to change notification settings

CalciferZh/SMPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMPL

Numpy and Tensorflow implementation of SMPL model.

Overview

I wrote this because the author-provided implementation was mainly based on chumpy, which is kind of unpopular. Meanwhile, the official one cannot run on GPU.

My numpy version is faster(since some computation is re-wrote in a vectorized manner) and easier to understand(hope so), and the tensorflow version can run on GPU.

For more details about SMPL model, see SMPL.

Usage

  1. Download the model file here.
  2. Run python preprocess.py /PATH/TO/THE/DOWNLOADED/MODEL to preprocess the official model. preprocess.py will create a new file model.pkl. smpl_np.py and smpl_tf.py both rely on model.pkl.
  3. Run python smpl_np.py to see the example.

About

NumPy, TensorFlow and PyTorch implementation of human body SMPL model and infant body SMIL model.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages