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

Ground truth box construction for individual keypoint #99

Open
nikhilchh opened this issue Nov 8, 2023 · 0 comments
Open

Ground truth box construction for individual keypoint #99

nikhilchh opened this issue Nov 8, 2023 · 0 comments

Comments

@nikhilchh
Copy link

I observed that ground truth box for individual keypoint is calculated as 0.05 max(img_width, img_height). Which means width and height of every keypoint is almost random. Fro example: An eye keypoint in 640x640 image is always a 32x32 box irrespective of how big/small the eye is.

But you still use IOU loss to penalize the model. Why not just penalize the model based on difference in predicted center vs real center of the keypoint and ignore the predicted W & H of the keypoint box for loss computation ? (Only for keypoint objects)

I know that there is another l2 loss which penalizes based on keypoint centers. My point is that penalizing the model for predicting wrong W & H of keypoint box seems unreasonable given that ground truth W & H (for keypoints) are inconsistent.

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

1 participant