simple-HRNet icon indicating copy to clipboard operation
simple-HRNet copied to clipboard

Evaluating pck

Open amin-asdzdh opened this issue 4 years ago • 1 comments

When evaluating the PCK using the following function: https://github.com/stefanopini/simple-HRNet/blob/f4a81742975f7a3fb85493a4ed197e21e93f7222/misc/utils.py#L213-L244

Why does the x_coordinate gets divided by the height and the y_coordinate by the width? Shouldn't it be the other way around?

Thanks

amin-asdzdh avatar Aug 16 '20 04:08 amin-asdzdh

Hi! I've checked it and I think you're right.

This code is derived from here and the same code is found also here and they may both contain the same issue.

I've raised your question in https://github.com/microsoft/human-pose-estimation.pytorch/issues/144 to have another check on this. I'll keep you posted.

stefanopini avatar Aug 25 '20 12:08 stefanopini