MotionGPT icon indicating copy to clipboard operation
MotionGPT copied to clipboard

RuntimeError: The expanded size of the tensor (3) must match the existing size (263) at non-singleton dimension 1. Target sizes: [22, 3]. Tensor sizes: [263]

Open MWaelAbdelaziz opened this issue 2 years ago • 2 comments

Screenshot from 2024-01-27 18-12-39 Where could this problem reside at? Idk where could this be a problem from at all, please help.

MWaelAbdelaziz avatar Jan 27 '24 16:01 MWaelAbdelaziz

same question? how can i solved

luoluoluooo avatar Apr 08 '24 06:04 luoluoluooo

Hello,

This error appears to be stemming from an attempt to fit SMPL on the 263-dimensional features of HumanML3D, while fitting requires 22x3 joint positions. You can resolve this by following the method introduced in the Batch demo section at https://github.com/OpenMotionLab/MotionGPT/tree/main?tab=readme-ov-file#️-demo. This approach should help you correctly transform the data into the required format.

billl-jiang avatar Apr 08 '24 12:04 billl-jiang