MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / create_mean_pose

Method create_mean_pose

util/smplx/smplx/body_models.py:1542–1547  ·  view source on GitHub ↗
(self, data_struct, flat_hand_mean=False)

Source from the content-addressed store, hash-verified

1540 return 'MANO'
1541
1542 def create_mean_pose(self, data_struct, flat_hand_mean=False):
1543 # Create the array for the mean pose. If flat_hand is false, then use
1544 # the mean that is given by the data, rather than the flat open hand
1545 global_orient_mean = torch.zeros([3], dtype=self.dtype)
1546 pose_mean = torch.cat([global_orient_mean, self.hand_mean], dim=0)
1547 return pose_mean
1548
1549 def extra_repr(self):
1550 msg = [super(MANO, self).extra_repr()]

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected