code wiki / (root) / nx_coco_ap.nx

nx_coco_ap.nx

buildroot/runtime/nx_coco_ap.nx

1164 B21 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind librarytopic coco
docsdependenciesstructsconstsfunctions

about

nx_coco_ap.nx -- COCO keypoint AP@[.5:.95] from per-image OKS (the top-down single-person eval: GT box given, one prediction per image). AP = mean over the 10 OKS thresholds {.50,.55,...,.95} of the fraction of predictions whose OKS >= threshold. This is the number the field reports (ViTPose 75.8). Composes nx_coco_oks (per-image) -> this. The full COCO detection AP (P-R over confidence, multi-instance matching) is a superset; this is the standard keypoint-eval simplification used when the person box is provided (which is our top-down setting). license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_coco_ap.nx nx_coco_ap_gate.nx nx_coco_eval.nx

imports: nx_syscalls.nx

imported by: nx_coco_ap_gate.nxnx_coco_eval.nx

structs

none

consts

none

functions

9func coco_ap(oks_permille: *i64, n: i64) -> i64
called by 2: mainmain