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

KeyError: 'joints_smpl24' #486

Open
neverstoplearn opened this issue Sep 7, 2023 · 3 comments
Open

KeyError: 'joints_smpl24' #486

neverstoplearn opened this issue Sep 7, 2023 · 3 comments

Comments

@neverstoplearn
Copy link

Traceback (most recent call last):
File "/xxxx/ROMP/romp/lib/evaluation/collect_3DPW_results.py", line 212, in
submitor = Submit()
File "/xxxx/ROMP/romp/lib/evaluation/collect_3DPW_results.py", line 26, in init
self.evaluation()
File "/xxxx/miniconda3/envs/torch10/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "/xxxx/ROMP/romp/lib/evaluation/collect_3DPW_results.py", line 81, in evaluation
kp3d_smpl = outputs['joints_smpl24']
KeyError: 'joints_smpl24'

how to fix it?

@Arthur151
Copy link
Owner

Sorry, I changed the name of the keys in outputs dict.
You can print the key names in outputs and find the one fit the 'joints_smpl24'

@neverstoplearn
Copy link
Author

Sorry, I changed the name of the keys in outputs dict. You can print the key names in outputs and find the one fit the 'joints_smpl24'

thanks,I will try it.

@neverstoplearn
Copy link
Author

@Arthur151
the dict like this:
dict_keys(['params_maps', 'center_map', 'detection_flag', 'params_pred', 'reorganize_idx', 'centers_pred', 'params', 'verts', 'j3d', 'joints_h36m17', 'pj2d', 'cam_trans', 'verts_camed', 'pj2d_org', 'verts_camed_org', 'meta_data'])
which i should choose?

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