mks0601 / I2L-MeshNet_RELEASE

Official PyTorch implementation of "I2L-MeshNet: Image-to-Lixel Prediction Network for Accurate 3D Human Pose and Mesh Estimation from a Single RGB Image", ECCV 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'mesh_coord_cam'

ouusan opened this issue · comments

Thanks for your work, it is so cool !!
I am trying to run the demo.py, but following error occurs:
Traceback (most recent call last):
File "demo.py", line 106, in
mesh_param_cam = out['mesh_coord_cam'][0].cpu().numpy()
KeyError: 'mesh_coord_cam'

I print the out, it has only 'joint_coord_img','mesh_coord_img','bb2img_trans' , what's my problem, could you please tell me how can i solve it?

as in here (

if cfg.stage == 'param':
), you should set --stage param

Thank you for your answer! i run the command: python demo.py --gpu 0 --stage param --test_epoch 8, as your README file, still the same error, Is it my misunderstanding?
2023-12-07 22-58-45屏幕截图

Could you first check your code is getting mesh_coord_cam in this line?

if cfg.stage == 'param':

Thank you sooo much!! solved it