Skip to content

Commit

Permalink
More description on theta
Browse files Browse the repository at this point in the history
  • Loading branch information
akanazawa authored Dec 18, 2018
1 parent e2981df commit 8785764
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ def main(img_path, json_path=None):
# Add batch dimension: 1 x D x D x 3
input_img = np.expand_dims(input_img, 0)

# Theta is the 85D vector holding [camera, pose, shape]
# where camera is 3D [s, tx, ty]
# pose is 72D vector holding the rotation of 24 joints of SMPL in axis angle format
# shape is 10D shape coefficients of SMPL
joints, verts, cams, joints3d, theta = model.predict(
input_img, get_theta=True)

Expand Down

0 comments on commit 8785764

Please sign in to comment.