stefanopini / simple-HRNet

Multi-person Human Pose Estimation with HRNet in Pytorch
GNU General Public License v3.0
579 stars 109 forks source link

Evaluating pck #66

Open amin-asdzdh opened 4 years ago

amin-asdzdh commented 4 years ago

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

stefanopini commented 4 years ago

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.