code wiki / (root) / nx_pose_score_one.nx

nx_pose_score_one.nx

buildroot/runtime/nx_pose_score_one.nx

3878 B69 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind tooltopic pose
docsdependenciesstructsconstsfunctions

about

nx_pose_score_one.nx -- the FIRST real external-GT score: map the ViTPose port's 48x64 heatmap keypoints (from nx_vitpose_forward on COCO 000000397133.jpg person0) into image coords via the emitted crop box, and compute OKS vs the REAL COCO GT keypoints. This is industry grading, not self-validation: GT = COCO's annotations. area = bbox w*h (f32, per nx_coco_oks contract). lineage_id: nx_pose_score_one_v1

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_coco_oks.nx nx_pose_score_one.nx

imports: nx_syscalls.nxnx_itoa_lib.nxnx_coco_oks.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap so_w sys_write so_wn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap nx_i32_to_f32 coco_oks nx_i32_to_f32 ↻ nx_f32_div nx_f32_classify nx_f32_exp_field nx_f32_mant_field nx_f32_sign nx_f32_mant_field ↻ nx_f32_exp_field ↻ oks_sigma1000 sys_mmap ↻ nx_f32_mul nx_f32_classify ↻ nx_f32_sign ↻ nx_f32_mant_field ↻ nx_f32_exp_field ↻ nx_f32_exp nx_f32_classify ↻ nx_f32_sign ↻ _f32_to_i32_rne nx_f32_classify ↻ nx_f32_sign ↻ nx_f32_exp_field ↻ nx_f32_mant_field ↻ nx_i32_to_f32 ↻ _f32_ldexp nx_f32_classify ↻ nx_f32_exp_field ↻

structs

none

consts

none

functions

10func so_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return n }
called by 1: main calls 1: sys_write
15func so_wn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
17func main() -> i64