Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

heatmap generation #163

Open
thanisornsr opened this issue Mar 18, 2021 · 1 comment
Open

heatmap generation #163

thanisornsr opened this issue Mar 18, 2021 · 1 comment

Comments

@thanisornsr
Copy link

Hi,

I am confusing about heatmap generation.

  1. From COCO dataset, the valid of joint are 0 for not in the image, 1 for in the image but not visible, and 2 for in the image and visible. How do you encode this into heatmap? If valid is 0, it will be zero matrix? if it's 1 or 2, it will be heatmap with 1 peak? Am I right?

  2. The loss function when training, It's MSE between predicted heatmaps and targeted heatmaps according to the paper. Do I have to multiply with valid? or it's not needed?

All the best,
Than

@tucachmo2202
Copy link

  • From COCO dataset, the valid of joint are 0 for not in the image, 1 for in the image but not visible, and 2 for in the image and visible. How do you encode this into heatmap? If valid is 0, it will be zero matrix? if it's 1 or 2, it will be heatmap with 1 peak? Am I right?

Hi, They use 2D Gaussian centered to generate heatmap.

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

No branches or pull requests

2 participants