Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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] #77

Open
MWaelAbdelaziz opened this issue Jan 27, 2024 · 2 comments

Comments

@MWaelAbdelaziz
Copy link

MWaelAbdelaziz commented Jan 27, 2024

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.

@luoluoluooo
Copy link

same question? how can i solved

@billl-jiang
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants