code wiki / _hdl_build / nx_text2motion_gate.nx
nx_text2motion_gate.nx
buildroot/runtime/_hdl_build/nx_text2motion_gate.nx
about
nx_text2motion_gate.nx -- TEXT-CONDITIONED neural motion, proven with the honest ML criterion (GENERALIZATION
to held-out captions -- a keyword if-else cannot generalize to sentences it never saw). Chain: caption ->
LEARNED perceptron encoder -> motion class -> class-conditioned generated tokens -> VQ decode -> rig -> video.
T1 the encoder LEARNS: perceptron training mistakes -> 0 (separated the training set)
T2 it GENERALIZES: 6/6 HELD-OUT captions (novel word combinations, never trained as sentences) classify
correctly -- AND the UNTRAINED (zero) encoder gets ~1/6, proving the LEARNING did it (not the vocab)
T3 full chain: a held-out caption -> class -> generated motion tokens -> decoded poses MOVE -> APNG rendered
T4 TEXT STEERS: two different captions -> different classes -> different token sequences
Emits knowledge/synth_text2motion.png (APNG of the motion generated FROM a sentence). license_tier: ORIGINAL
expect_exit: 0
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_skeleton.nxnx_figure_render.nxnx_motion_neural.nxnx_text2motion.nxnx_apng.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 35 | const GW: i64 = 128 |
| 36 | const GH: i64 = 96 |
functions
| 18 | func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 19 | func pn(v: i64) -> i64 |
| 30 | func find4(buf: *u8, n: i64, a: i64, b: i64, c: i64, d: i64) -> i64 called by 1: main |
| 38 | func main() -> i64 |