Skip to content

Commit

Permalink
style: remain code comments bit misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
guspan-tanadi authored Apr 10, 2023
1 parent ca2c3fa commit f316c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/OSX_WoDecoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ def get_coord(self, root_pose, body_pose, lhand_pose, rhand_pose, jaw_pose, shap
joint_cam = joint_cam - root_cam
mesh_cam = mesh_cam + cam_trans[:, None, :] # for rendering

# left hand root (left wrist)-relative 3D coordinatese
# left hand root (left wrist)-relative 3D coordinates
lhand_idx = smpl_x.joint_part['lhand']
lhand_cam = joint_cam[:, lhand_idx, :]
lwrist_cam = joint_cam[:, smpl_x.lwrist_idx, None, :]
lhand_cam = lhand_cam - lwrist_cam
joint_cam = torch.cat((joint_cam[:, :lhand_idx[0], :], lhand_cam, joint_cam[:, lhand_idx[-1] + 1:, :]), 1)

# right hand root (right wrist)-relative 3D coordinatese
# right hand root (right wrist)-relative 3D coordinates
rhand_idx = smpl_x.joint_part['rhand']
rhand_cam = joint_cam[:, rhand_idx, :]
rwrist_cam = joint_cam[:, smpl_x.rwrist_idx, None, :]
Expand Down

0 comments on commit f316c93

Please sign in to comment.