nx_pck.nx
buildroot/runtime/nx_pck.nx
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
imports: nx_syscalls.nx
imported by: nx_pck_gate.nxnx_pose_distill_gate.nxnx_pose_student_distill.nx
structs
| none |
consts
| none |
functions
| 8 | func pck_count(px: *i64, py: *i64, gx: *i64, gy: *i64, n: i64, thresh_sq: i64) -> i64 |
| 20 | func pck_permille(px: *i64, py: *i64, gx: *i64, gy: *i64, n: i64, thresh_sq: i64) -> i64 |