postech-ami / FastMETRO

[ECCV'22] Official PyTorch Implementation of "Cross-Attention of Disentangled Modalities for 3D Human Mesh Recovery with Transformers"
https://fastmetro.github.io/
MIT License
164 stars 14 forks source link

About performance difference between different `PA_MPJPE` calculation method on hands. #12

Closed imabackstabber closed 1 year ago

imabackstabber commented 1 year ago

Hi, I adopted reconstruction_error function in utils/metric_pampjpe.py to calculate PA_MPJPE metric on hands(which is originally used for body, in the repo)., and I'm pretty sure the result is aligned(i.e. substract the position of Wrist) But the result is inferior to the de-facto standard when calculating PA_MPJPE for hands, which is written in the code given: saving results as pred.json and using eval.py in freihand to calucalate align result(and that will be the final PA_MPJPE, to my knowledge). The result reconstruction_error given is roughly 24~25mm, however, the pred.json method mentioned above says that result is about 6~7mm. The huge difference bothers me. Could you please explain the reason why the two methods given differ so much? Your reply will be highly appreciated.

FastMETRO commented 1 year ago

Hello,

For the evaluation, we used the official evaluation code provided by FreiHAND. If you want to merge the evaluation code with our repository, please check these guidelines.



Thanks for your interest in our work!!

FastMETRO commented 1 year ago

Please reopen this issue if you need more help regarding this.

imabackstabber commented 1 year ago

Thanks! That really helps with my problem!

FastMETRO commented 1 year ago

Glad to hear that our guidelines resolved your issue :)