计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
i2sb_bridge_posterior【效率与协作】Compute the analytic Gaussian bridge posterior q(Xt | X0, X1) for I2SB paired clean/degraded endpoints.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing or checking I2SB training data construction from paired clean and degraded samples. Do not use it for ordinary diffusion noising to Gaussian noise; the terminal endpoint is the degraded paired sample X1.
x0 as a scalar or vector.x1 with the same shape.t in [0, 1].sigma2_t, barsigma2_t, posterior mean, posterior variance.xt.sigma2_t = beta * t and barsigma2_t = beta * (1 - t).sigma2_t * barsigma2_t / (sigma2_t + barsigma2_t).Run:
python scripts/bridge_posterior.py --demo
python tests/test_bridge_posterior.py
This skill implements the scalar/vector contract for recovery and validation. Image tensors use the same broadcasted formulas but require external array/tensor containers.