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

grad_fit_h1_shape.py dimension unmatch error #4

Open
zhanggang11863976 opened this issue Oct 4, 2024 · 3 comments
Open

grad_fit_h1_shape.py dimension unmatch error #4

zhanggang11863976 opened this issue Oct 4, 2024 · 3 comments

Comments

@zhanggang11863976
Copy link

pose_aa_h1 = torch.cat([torch.zeros((1, 1, 3)), H1_ROTATION_AXIS * dof_pos[..., None], torch.zeros((1, 2, 3))], axis = 1)

RuntimeError: The size of tensor a (19) must match the size of tensor b (27) at non-singleton dimension 1

@lzpyx
Copy link

lzpyx commented Oct 5, 2024

I encountered the same issue, and I can get it to work after the following modifications. Might be able to give you some reference, but I haven't verified if it's exactly right yet.
issue

@zhanggang11863976
Copy link
Author

thank you. I think it works.

@TairanHe
Copy link
Contributor

We’ll be updating the retargeting code with a cleaner, improved version soon. Please stay tuned, and in the meantime, use the provided retargeted .pkl file for temporary debugging with our code.

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