davrempe / humor

Code for ICCV 2021 paper "HuMoR: 3D Human Motion Model for Robust Pose Estimation"
MIT License
518 stars 72 forks source link

May I ask how to convert the humor result to SMPL format? #44

Closed Net-Maker closed 1 year ago

Net-Maker commented 1 year ago

Your work is really marvellous! The performance of HuMoR is really good,and I want to use it as a part of the preprocess in my work to predict the smpl parameters.But the output result format is different with SMPL,which has extra parameters named "floor_plane" and "contract". Can I transfer the result format to SMPL which has only 4 knids of parameters? i.e:[betas,transl,global_orient,body_pose] Looking forward to your reply!

Best Wishes!

davrempe commented 1 year ago

The output .npz file contains all the SMPL parameters -- if this is all you need, you can ignore the extra "floor_plane" and "contact" outputs. You might also see my answer here that discusses how to load in the SMPL parameters from the results file.

Net-Maker commented 1 year ago

I had met a problem. I used these SMPL parameters ,load them to SMPLH,and visualized it. The visualization result of humor is really good. But this result is strange,the parameter "transl" seems to be wrong. I have no idea how to solve this problem. I am using "result_stage_3.npz",and that's the result:

davrempe commented 1 year ago

HuMoR also uses SMPL-H, so the results should be identical. I'm wondering are you feeding in your own camera intrinsics to the HuMoR fitting? Are these the same intrinsics you are using in your own visualization of the results? If you don't feed in custom intrinsics, HuMoR will use the default ones (see this code), which may not match with the ones used in your visualization.

Net-Maker commented 1 year ago

Thanks! I'll check