Path: blob/master/deprecated/notebooks/gplvm_mocap.ipynb
1192 views
Gaussian proceess latent variable model for motion capture data
http://inverseprobability.com/gpy-gallery/gallery/cmu-mocap-gplvm
Author: Aditya Ravuri
Setup
CMU Mocap Database
Motion capture data from the CMU motion capture data base (CMU Motion Capture Lab, 2003).
You can download any subject and motion from the data set. Here we will download motions 02
and 21
from subject 16
.
The data dictionary contains the keys ‘Y’ and ‘skel,’ which represent the data and the skeleton..
And extra information about the data is included, as standard, under the keys info
and details
.
Fit GP-LVM
The original data has the figure moving across the floor during the motion capture sequence. We can make the figure walk ‘in place,’ by setting the x, y, z positions of the root node to zero. This makes it easier to visualize the result.
We can also remove the mean of the data.
Now we create the GP-LVM model.
Now we optimize the model.