Closed avegetablechicken closed 1 year ago
It is quite strange, and I have never met the problem. I think the problem is due to the incorrect dimension of gt_thetas
in https://github.com/Jeff-sjtu/HybrIK/blob/9b8681dcf3c902dd5dacc01520ba04982990e1e2/scripts/validate_smpl_cam.py#L94
Can you output the dimension of gt_thetas
when validating on Human3.6M and 3DPW ? Or as an easy alternative, you may directly set test_vertice=False
to disable the calculation of PVE.
It is quite strange, and I have never met the problem. I think the problem is due to the incorrect dimension of
gt_thetas
inCan you output the dimension of
gt_thetas
when validating on Human3.6M and 3DPW ? Or as an easy alternative, you may directly settest_vertice=False
to disable the calculation of PVE.
Hey, thanks for your reply. It's (32, 216). And it works well when disabling the calculation of PVE.
I think you may try reshaping gt_thetas
to be (32, 24, 9).
I think you may try reshaping
gt_thetas
to be (32, 24, 9).
It makes no difference. In "lbs.py" it seems that the pose
is finnaly reshaped by rot_mats = batch_rodrigues( pose.view(-1, 3), dtype=dtype).view([batch_size, -1, 3, 3])
I think you may try reshaping
gt_thetas
to be (32, 24, 9).It makes no difference. In "lbs.py" it seems that the
pose
is finnaly reshaped byrot_mats = batch_rodrigues( pose.view(-1, 3), dtype=dtype).view([batch_size, -1, 3, 3])
Inspired by your advice, I assume that gt_thetas
is already in the form of rotation matrix. I comment the transformation code and just make a view of gt_thetas
as rotation_matrix by rot_mats = pose.view(batch_size, -1, 3, 3)
. It works well and gives plausible evaluation results on 3DPW close to the numbers in the paper.
Yes, that is the correct solution.
Yes, that is the correct solution.
BTW, do you have any plan to share the pre-processed datasets or code for pre-process for D&D
project?
Yes, that is the correct solution.
Or could you please tell me the meaning of dict key of pre-processed data, such as the different of pose
and thetas
, shape
and betas
? I am very interested in "D&D".
@avegetablechicken Hi, sorry for late reply. pose
and thetas
, shape
and betas
have exact the same meaning.
Yes, that is the correct solution.
Or could you please tell me the meaning of dict key of pre-processed data, such as the different of
pose
andthetas
,shape
andbetas
? I am very interested in "D&D".
@avegetablechicken Hello Are you using a single GPU for evaluation? If this is the case, can I ask you if there is anything that needs to be modified in the script? thanks for your reply
I run the evaluation as instructed by
./scripts/validate_smpl_cam.sh ./configs/256x192_adam_lr1e-3-hrw48_cam_2x_w_pw3d_3dhp.yaml ./pretrained_hrnet.pth
. I use the pretrained model "hybrik_hrnet48_w3dpw.pth" as "pretrained_hrnet.pth" like running the demo (and it worked successfully). The evaluation script works well on Human3.6M, but it fails on 3DPW. Here is the log:@Jeff-sjtu @biansy000 Could you please help me out?