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

run grad_fit_h1_shape.py get "'left_ankle_link' is not in list" error #3

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

Comments

@zhanggang11863976
Copy link

2024-10-04 17:43:57,027 - INFO - logger - logger initialized
Traceback (most recent call last):
File "scripts/data_process/grad_fit_h1_shape.py", line 65, in
h1_joint_pick_idx = [ h1_joint_names_augment.index(j) for j in h1_joint_pick]
File "scripts/data_process/grad_fit_h1_shape.py", line 65, in
h1_joint_pick_idx = [ h1_joint_names_augment.index(j) for j in h1_joint_pick]
ValueError: 'left_ankle_link' is not in list

@wuhaichao87
Copy link

h1_joint_names = ['pelvis',
'left_hip_yaw_link',
'left_hip_pitch_link',
'left_hip_roll_link',
'left_knee_link',
#'left_ankle_pitch_link',
#'left_ankle_roll_link',
'left_ankle_link',
'right_hip_yaw_link',
'right_hip_pitch_link',
'right_hip_roll_link',
'right_knee_link',
#'right_ankle_pitch_link',
#'right_ankle_roll_link',
'right_ankle_link',
'torso_link',
'left_shoulder_pitch_link',
'left_shoulder_roll_link',
'left_shoulder_yaw_link',
#'left_elbow_pitch_link',
#'left_elbow_roll_link',
'left_elbow_link',

'left_wrist_pitch_link',

'left_wrist_yaw_link',

'right_shoulder_pitch_link',
'right_shoulder_roll_link',
'right_shoulder_yaw_link',
#'right_elbow_pitch_link',
#'right_elbow_roll_link',
'right_elbow_link',

'right_wrist_pitch_link',

'right_wrist_yaw_link'

]

@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.

@HaodongHuang-W
Copy link

I encountered the same problem.

@IlanElfen
Copy link

Me too

@CavalloneChen
Copy link

I've encountered the same problem, please update the retargeting files.

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

6 participants