deep-high-resolution-net.pytorch icon indicating copy to clipboard operation
deep-high-resolution-net.pytorch copied to clipboard

Evaluation of PCK accuracy

Open stefanopini opened this issue 5 years ago • 0 comments

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

stefanopini avatar Aug 29 '20 08:08 stefanopini