tlpss / keypoint-detection

2D keypoint detection with Pytorch Lightning and wandb
MIT License
70 stars 9 forks source link

Fix metric for small distances #32

Closed tlpss closed 1 year ago

tlpss commented 1 year ago

There was a bug in the metrics that caused the heatmap generation and hence the metric to fail for d=1 if the keypoints were annotated as floats. This is now fixed by casting keypoints to the top-left (zero-index as in COCO) keypoint before training.