Skip to content

A sampler for body shape generation. Made as final project for Probablistic Graphical Models Course

Notifications You must be signed in to change notification settings

osman-mian/BodyShapeSampler

Repository files navigation

BodyShapeSampler

A sampler for body shape generation. Made as final project for Probablistic Graphical Models Course This project is an extension to SMPL. We assume that you already have SMPL installed on your system.
To download SMPL visit : http://smpl.is.tue.mpg.de/ (Please be sure to read the license agreement)

###########################################################

Run scripts with ipython --gui=wx <name_of_script.py>

###########################################################

The following order should be used when training the new model:

First: cd to the SMPL folder

  1. ipython --gui=wx shape_dataset.py
  2. ipython --gui=wx ./custom/Conditionals_extractor.py
  3. ipython --gui=wx ./BodyShapeSampler.py

[1] will generate the priors.
[2] will calculate conditionals
[3] will sample body shapes.

###########################################################

Notes:

  1. In all 3 files, you will have to specify the gender (male/female) for the sampler to work.
  2. In [3] you have the liberty to define a "starting point" in the code. The body will be sampled starting from this body part.

About

A sampler for body shape generation. Made as final project for Probablistic Graphical Models Course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages