executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
i2sb_bridge_posteriorCompute the analytic Gaussian bridge posterior q(Xt | X0, X1) for I2SB paired clean/degraded endpoints.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.