Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECON this job can be used for SCANimate? #51

Open
Bill-WangJiLong opened this issue Apr 22, 2023 · 5 comments
Open

ECON this job can be used for SCANimate? #51

Bill-WangJiLong opened this issue Apr 22, 2023 · 5 comments

Comments

@Bill-WangJiLong
Copy link

Hello, ECON this job can be used for SCANimate? It looks like their output is the same.

@YuliangXiu
Copy link
Owner

Yes, you can use either the whole ECON (xxx_full.obj) or the partial ECON (depth map optimized from d-BiNI) as inputs of SCANimate.

@Bill-WangJiLong
Copy link
Author

Bill-WangJiLong commented Apr 25, 2023

Yes, you can use either the whole ECON (xxx_full.obj) or the partial ECON (depth map optimized from d-BiNI) as inputs of SCANimate.

Thank you for your reply! Can the pose parameters and transl parameters of the smpl model required by SCANimate be obtained directly with this code in infer.py?

if not osp.exists(smpl_obj_path):
smpl_obj. export(smpl_obj_path)
smpl_info = {
"betas":
optimal_betas[idx].detach().cpu().unsqueeze(0),
"body_pose":
rotation_matrix_to_angle_axis(optimed_pose_mat[idx].detach()
).cpu().unsqueeze(0),
"global_orient":
rotation_matrix_to_angle_axis(optimed_orient_mat[idx].detach()
).cpu().unsqueeze(0),
"transl":
optimed_trans[idx].detach().cpu(),

In addition, I also want to ask whether it is necessary to remove some faces in full_obj like ICON does? Or do some changes need to be made to SCANimate?

@YuliangXiu
Copy link
Owner

Yes, you can use either the whole ECON (xxx_full.obj) or the partial ECON (depth map optimized from d-BiNI) as inputs of SCANimate.

Thank you for your reply! Can the pose parameters and transl parameters of the smpl model required by SCANimate be obtained directly with this code in infer.py? if not osp.exists(smpl_obj_path): smpl_obj. export(smpl_obj_path) smpl_info = { "betas": optimal_betas[idx].detach().cpu().unsqueeze(0), "body_pose": rotation_matrix_to_angle_axis(optimed_pose_mat[idx].detach() ).cpu().unsqueeze(0), "global_orient": rotation_matrix_to_angle_axis(optimed_orient_mat[idx].detach() ).cpu().unsqueeze(0), "transl": optimed_trans[idx].detach().cpu(), In addition, I also want to ask whether it is necessary to remove some faces in full_obj like ICON does? Or do some changes need to be made to SCANimate?

Yes, and Yes, just use the visible faces, but you should modify the dataloader of SCANimate a little bit.

@Bill-WangJiLong
Copy link
Author

What should be modified for SCANimate? I noticed that the pose parameter is divided into global rotation and body_pose. Do you mean that it needs to be modified here?

@ireneisme
Copy link

What should be modified for SCANimate? I noticed that the pose parameter is divided into global rotation and body_pose. Do you mean that it needs to be modified here?

Hello, sir! Have you ever finished this piece of work? I am also confused about how to convert the output of ECON which has fewer body_pose to the corresponding smpl model one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants