ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

KeyError: 'joints_smpl24'

Open neverstoplearn opened this issue 2 years ago • 4 comments

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?

neverstoplearn avatar Sep 07 '23 03:09 neverstoplearn

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'

Arthur151 avatar Sep 09 '23 15:09 Arthur151

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 avatar Sep 11 '23 02:09 neverstoplearn

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

neverstoplearn avatar Sep 21 '23 09:09 neverstoplearn