chenyilun95 / tf-cpn

Cascaded Pyramid Network for Multi-Person Pose Estimation (CVPR 2018)
MIT License
792 stars 197 forks source link

About coordination recovery #13

Closed weleen closed 6 years ago

weleen commented 6 years ago

when do coordination recovery from the predicted heatmaps, i notice that the result add 2 in x-axis and y-axis, why do this to the coordination? Is this due to the misalignment in prediction? https://github.com/chenyilun95/tf-cpn/blob/bdc09bbc697283824dd59bd9c29be2f7c3cf51d5/models/COCO.res101.256x192.CPN/mptest.py#L143

chenyilun95 commented 6 years ago

Yes. While training, we set the gt coordinate is ([x/4], [y/4]).