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

An error occurred using the smplx model #26

Open
songjiahao-wq opened this issue Nov 13, 2024 · 1 comment
Open

An error occurred using the smplx model #26

songjiahao-wq opened this issue Nov 13, 2024 · 1 comment

Comments

@songjiahao-wq
Copy link

Traceback (most recent call last):
File "E:\project2024\SMPLX\SMPL-Anthropometry\measure.py", line 494, in
measurer.measure(measurement_names)
File "E:\project2024\SMPLX\SMPL-Anthropometry\measure.py", line 103, in measure
value = self.measure_length(m_name)
File "E:\project2024\SMPLX\SMPL-Anthropometry\measure.py", line 123, in measure_length
measurement_landmarks_inds = self.length_definitions[measurement_name]
KeyError: 'arm length (shoulder to elbow)'

@DavidBoja
Copy link
Owner

DavidBoja commented Nov 13, 2024

You are right - at some point I added new measurements for the SMPL body and not SMPLX one, so the possible measurements were not properly defined. It's fixed now. Let me know if everything works.

I am going to add these measurements that are defined for SMPL and not for SMPLX at some point but at least for now the code will not break.

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

2 participants