deep-high-resolution-net.pytorch
deep-high-resolution-net.pytorch copied to clipboard
Evaluation of PCK accuracy
Hi, I think that there is an error in the calculus of the PCK accuracy, as reported here and here.
At this line
https://github.com/leoxiaobin/deep-high-resolution-net.pytorch/blob/ba50a82dce412df97f088c572d86d7977753bf74/lib/core/evaluate.py#L55
[h, w] shouldn't be inverted to be [w, h] and match the output of get_max_preds?
get_max_preds :
https://github.com/leoxiaobin/deep-high-resolution-net.pytorch/blob/ba50a82dce412df97f088c572d86d7977753bf74/lib/core/inference.py#L39-L40