wai-rs: jpegai_pipeline::lsbs_refine — LSBS scale refinement (yhat → y_lsbs) #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/jpegai-lsbs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The least-significant-bit scale correction between SGMM reconstruction and synthesis:
scale_log = i_s (the hyper_scale output) recovered empirically — only i_s makes the block table-index match the reference (i_s+rvs etc. → ~54 dB; i_s → machine precision).
Validated float-exact on the real test256.bin checkpoint: max|Δ| = 0.000000 vs the reference y_lsbs. Plus unit tests for block index / additive / clamp.
Closes the latent path end to end: entropy → dequant → sigma → SGMM reconstruct → LSBS → the y_lsbs that feeds synthesis (58.85 dB on real data).
dcharlot referenced this pull request2026-11-06 13:54:17 -05:00