wbenbihi / hourglasstensorflow

Tensorflow implementation of Stacked Hourglass Networks for Human Pose Estimation
MIT License
479 stars 177 forks source link

PCK Benchmark #13

Closed wbenbihi closed 7 years ago

wbenbihi commented 7 years ago

Hi,

I have a question for people working on MPII dataset. To compute the PCKh (Percentage of Correct Keypoint with respect to the head). I started to compute accuracy using this benchmark, I obtain very high results for some joints. I need to figure it out if my understanding of this benchmark is correct. This is the formula I use. pck

I compute for a given set all the heat maps for every images, then I find the location (arg max) and then I compute the L2 error between the prediction and the ground truth. normalized by the body proportion. To get PCK for a threshold 'r' I find how many samples have a value below this threshold and divide it by the total number of joints. Is that correct?