Closed Xiaoming-Zhao closed 2 years ago
Hello Xiaoming,
I did this just for ease of implementation -- you can refer to the issue to get more details.
The offset is compensated by storing pelvis_pos as a global translation (i.e., Th) that will be applied after global rotation (i.e., Rh).
Hi @chungyiweng , congrats on this great work and thanks a lot for open-sourcing the code. I have a question about the data preprocessing for data in the wild and hope you can give me a hand. Specifically, there is a line to offset
tpose_joints
withpelvis_pos
: https://github.com/chungyiweng/humannerf/blob/7389c4049c0d5b14afdbac41a605ddad9d51dd4a/tools/prepare_wild/prepare_dataset.py#L72-L73After this step, the
tpose_joints
formesh_infos
of each frame will differ fromcanonical_joints
. However, I do not find some code snippets to compensate such difference later. Probably I miss something. May I know whether you mind helping me understand why this is needed? Thanks a lot in advance.