Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about heatmap_to_coord #39

Open
liamsun2019 opened this issue Mar 21, 2022 · 2 comments
Open

about heatmap_to_coord #39

liamsun2019 opened this issue Mar 21, 2022 · 2 comments

Comments

@liamsun2019
Copy link

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.

@zimenglan-sysu-512
Copy link

hi @liamsun2019
u can see this line

@liamsun2019
Copy link
Author

Got it. Thanks for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants