-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I use agora_train_3840_w_occ_cache_2010.npz file from the project to render smplx model on the image ,but the translation seems to be wrong.
the code
render_smpl(
poses=pose_165,
betas=smplx_param['shape'][None],
transl=smplx_param['trans'][None],
body_model=self.body_model,
K=np.array(
[[5000, 0, img_shape[0] / 2],
[0, 5000, img_shape[1] / 2],
[0, 0, 1]]),
R=None,
T=None,
output_path='output.png',
image_array=cv2.resize(img, (img_shape[0], img_shape[1]), cv2.INTER_CUBIC),
in_ndc=False,
alpha=0.9,
convention='opencv',
projection='perspective',
overwrite=True,
no_grad=True,
device='cuda',
resolution=[img_shape[1], img_shape[0]],
render_choice='hq'
)
the image

Metadata
Metadata
Assignees
Labels
No labels