COCO OKS Metrics Usage
See original GitHub issueHi, I am unable to understand how OKS is calculated in experiments using COCO dataset.
In the train function in lib/core/function.py you seem to call accuracy from the file lib/core/evaluate.py. But that accuracy is PCKh right? So how do you calculate OKS.
Could you please explain the steps how can I calculate OKS given I use your dataloader?? Thanks alot in advance!!!
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
COCO OKS Metrics Usage · Issue #27 - GitHub
Hi, I am unable to understand how OKS is calculated in experiments using COCO dataset. In the train function in lib/core/function.py you ...
Read more >COCO - Common Objects in Context
COCO is a large-scale object detection, segmentation, and captioning dataset. COCO has several features: Object segmentation. Recognition in context.
Read more >Evaluation metrics on the COCO dataset. - ResearchGate
In the matching between predictions to groundtruth, a matching criterion called object keypoint similarity (OKS) is defined to compute the overlapping ratio ...
Read more >Keypoint estimation - SVIRO
The evaluation is performed according to the COCO evaluation metric. We use the average precision (AP) which is averaged over different object keypoint ......
Read more >Source code for detectron2.evaluation.coco_evaluation
The metrics range from 0 to 100 (instead of 0 to 1), where a -1 or NaN means the metric cannot be computed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We use a simple PCKh metric to evaluate our training procedure, and we only use OKS for validation procedure, you can look into the code at https://github.com/Microsoft/human-pose-estimation.pytorch/blob/d69ed56bdbc1f16a288921e302c87fcb33554e37/lib/dataset/coco.py#L273.
Is there a handwritten version of OKS here? Instead of calling the API .