You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, ClothWild does not support SMPL-X human body model.
Since SMPL and SMPL-X have different mesh topologies, the reconstruction outputs can be implausible when using SMPL-X parameters.
To get the SMPL parameters, please run the [Pose2Pose model] (body only)
Then, refer [this] to save the parameters.
Thank you.
To get the smpl parameters, I use whole-body codes,The final result is smpl-x param.json as follows,how do I change the parameter settings?
save SMPL-X parameters
root_pose = out['smplx_root_pose'].detach().cpu().numpy()[0]
body_pose = out['smplx_body_pose'].detach().cpu().numpy()[0]
lhand_pose = out['smplx_lhand_pose'].detach().cpu().numpy()[0]
rhand_pose = out['smplx_rhand_pose'].detach().cpu().numpy()[0]
jaw_pose = out['smplx_jaw_pose'].detach().cpu().numpy()[0]
shape = out['smplx_shape'].detach().cpu().numpy()[0]
expr = out['smplx_expr'].detach().cpu().numpy()[0]
with open('smplx_param.json', 'w') as f:
json.dump({'root_pose': root_pose.reshape(-1).tolist(),
'body_pose': body_pose.reshape(-1).tolist(),
'lhand_pose': lhand_pose.reshape(-1).tolist(),
'rhand_pose': rhand_pose.reshape(-1).tolist(),
'jaw_pose': jaw_pose.reshape(-1).tolist(),
'shape': shape.reshape(-1).tolist(),
'expr': expr.reshape(-1).tolist()}, f)
The text was updated successfully, but these errors were encountered: