DirtyHarryLYL / DJ-RN

As a part of HAKE project (HAKE-3D). Code for our CVPR2020 paper "Detailed 2D-3D Joint Representation for Human-Object Interaction".
Apache License 2.0
100 stars 13 forks source link

The file generate_3D_obj_GT.py #42

Closed mahsa1363 closed 3 years ago

mahsa1363 commented 3 years ago

Hello, it is possible to upload the correct files I do not think file generate_3D_obj_GT.py is correct. When I run it, for example for image "HICO_train2015_00000001", there is a file 000.pkl in the results folder of --res, but when I run generate_3D_obj_GT.py, it has a value of -1 in the openpose index. Can you please look at it and rewrite it?

DirtyHarryLYL commented 3 years ago

Sometimes the openpose would not generate 2D pose, e.g., too small human box, severe occlusion, etc. Thus the subsequent 3D recover can just be a placeholder. If you process all images, we have provided the processing procedures to handle this issue.

mahsa1363 commented 3 years ago

Thanks. problem solved. 1-In line 60 of file generate_3D_obj_GT.py, you should rewrite "mesh = os.path.join(args.res, 'meshes/HICOtrain2015%08d/%03d.obj' % (key, i))"" with "mesh = os.path.join(args.res, 'meshes/HICOtrain2015%08d/%03d.obj' % (key, item[6]))" 2- Can you explain about file TrainvalNeg? What are the interactions in it and what is it in general?What is it used for?

Foruck commented 3 years ago
  1. We have fixed the bug.
  2. Please take reference from this link.