Open yzrs opened 10 months ago
您的来信我已经收到了!
Hi @yzrs, generally we use the head size (PCKh) or torso size for the normalization for human pose estimation. However, we do not have these information for the animal data, hence we use the evaluation code from the previous work. Basically, the evaluation normalizes the distance with the heatmap size (w/10 or h/10) instead of the head size.
Hi@chaneyddtt, I understand, when calculating PCK in a heatmap of 64x64 size, the size of the bounding box corresponding to the points in the heatmap is not known, so I had to use the width and height of the heatmap to approximate the bounding box for normalization. In fact, when I calculated PCK, I converted the position of the most probable point in the heatmap back to the coordinates of the original image size, and then used the bounding box information in the labels to calculate PCK. Thanks a lot for your reply.
you can also do that. Please note that the methods you compared with also have to be evaluated with the same evaluation metric for fair comparison.
Of course. Thank you very much.
In https://github.com/chaneyddtt/ScarceNet/blob/main/lib/core/evaluate.py, although the note says that the value of PCK is calculated by heat map, I don't understand how this calculation works. The way I calculate PCK is to divide the Euclidean distance between two points by the diagonal distance of the bounding box. Can you give a more detailed explanation of the way PCK is calculated in the code please? Thanks.