Skip to content

HUMANML3D preprocess #15

@ZenGengChin

Description

@ZenGengChin

Hi, just noticed that your code for humanml3d process goes like:

NUM_JOINTS = 24
# and 
poses_adjust = motiton_meta["poses"][::fps_adjust_factor]
poses_target = poses_adjust[start_frame:end_frame]
axis_angles = poses_target.reshape(len(poses_target), -1, 3)[
                        :, :NUM_JOINTS, :
                    ] 

This code suggests that you just use the first 24 joint axis angles, but actually, in AMASS, the order of joints is something like:

[22 of body joints]
[left hands indices + right hands indices].
Your order should be something like [:, [0:23]+[37], :] instead of [:, :24,:]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions