code wiki / (root) / nx_pck.nx

nx_pck.nx

buildroot/runtime/nx_pck.nx

1067 B23 linesdepth 2pulls 2 transitivereach 3 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_pck.nx -- PCK (Percentage of Correct Keypoints): the "MEASURED" grading for build-2 -- our own sovereign pose net vs the ViTPose reference (teacher). A predicted keypoint is CORRECT if within `thresh` pixels of the reference; PCK@thresh = correct/N. Squared distance (no sqrt); integer pixel coords. This is what turns "our net runs" into "our net scores X vs the reference" per the measured-exceed doctrine. license_tier: ORIGINAL

dependencies 1 imports · 3 importers

nx_syscalls.nx nx_pck.nx nx_pck_gate.nx nx_pose_distill_gate.nx nx_pose_student_distill.nx

imports: nx_syscalls.nx

imported by: nx_pck_gate.nxnx_pose_distill_gate.nxnx_pose_student_distill.nx

structs

none

consts

none

functions

8func pck_count(px: *i64, py: *i64, gx: *i64, gy: *i64, n: i64, thresh_sq: i64) -> i64
called by 2: pck_permillemain
20func pck_permille(px: *i64, py: *i64, gx: *i64, gy: *i64, n: i64, thresh_sq: i64) -> i64
called by 3: mainmainmain calls 1: pck_count