TaatiTeam / MotionAGFormer

Official implementation of the paper "MotionAGFormer: Enhancing 3D Pose Estimation with a Transformer-GCNFormer Network" (WACV 2024).
Apache License 2.0
128 stars 15 forks source link

PCK&AUC #6

Closed AsukaCamellia closed 9 months ago

AsukaCamellia commented 9 months ago

Hi!Thank you for the excellent project and I am very interested in your project. How can I measure PCK AUC on the MPI dataset?

SoroushMehraban commented 9 months ago

Hello @AsukaCamellia, We have defined a function called save_data_inference here that stores a matlab file called inference_data.mat and 'inference_data_best.mat. The evaluation code for PCK and AUC is written in matlab and can be seen in repositories like STCFormer. I used mpii_test_predictions_py.m if I remember correctly. Note that the matlab code also requires some ground truth annotations which they can be downloaded from the official website of MPI-INF-3DHP. For downloading them you have to first download the small zip file and inside it there should be a bash file which you can run to download the annotations. Do not forget to adjust the config inside the zip file first.

AsukaCamellia commented 9 months ago

Hello @AsukaCamellia, We have defined a function called save_data_inference here that stores a matlab file called inference_data.mat and 'inference_data_best.mat. The evaluation code for PCK and AUC is written in matlab and can be seen in repositories like STCFormer. I used mpii_test_predictions_py.m if I remember correctly. Note that the matlab code also requires some ground truth annotations which they can be downloaded from the official website of MPI-INF-3DHP. For downloading them you have to first download the small zip file and inside it there should be a bash file which you can run to download the annotations. Do not forget to adjust the config inside the zip file first.

Thank you for your answer!!!!