flame
flame copied to clipboard
HUMANML3D preprocess
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,:]