Skip to content

visualization mismatch #42

@Z-mingyu

Description

@Z-mingyu

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

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions