Arthur151 / ROMP

Monocular, One-stage, Regression of Multiple 3D People and their 3D positions & trajectories in camera & global coordinates. ROMP[ICCV21], BEV[CVPR22], TRACE[CVPR2023]
https://www.yusun.work/
Apache License 2.0
1.36k stars 231 forks source link

KeyError: 'joints_smpl24' #486

Open neverstoplearn opened 1 year ago

neverstoplearn commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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