res-loglikelihood-regression icon indicating copy to clipboard operation
res-loglikelihood-regression copied to clipboard

about heatmap_to_coord

Open liamsun2019 opened this issue 3 years ago • 2 comments

Hi author,

For the function 'heatmap_to_coord' defined in rlepose/utils/transforms.py:

coords[:, :, 0] = (coords[:, :, 0] + 0.5) * hm_width coords[:, :, 1] = (coords[:, :, 1] + 0.5) * hm_height

what's the aim of "0.5" ? Any reason for that? Wait for your feedback, thanks.

liamsun2019 avatar Mar 21 '22 07:03 liamsun2019

hi @liamsun2019 u can see this line

zimenglan-sysu-512 avatar Mar 30 '22 13:03 zimenglan-sysu-512

Got it. Thanks for your reply.

liamsun2019 avatar Mar 31 '22 01:03 liamsun2019