LION.models.learned_regularizer.TDV¶
Total Deep Variation (Kobler, Effland, Kunisch and Pock, 2020): a learned regulariser, and the variational network that reconstructs with it.
Classes
|
Total Deep Variation (Kobler et al., 2020), as a variational network: from the initial reconstruction (the operator's default, FDK for CT, its negative values set to 0), |
- class LION.models.learned_regularizer.TDV.TDV(operator_params, model_parameters=None)[source]¶
Bases:
LIONmodelTotal Deep Variation (Kobler et al., 2020), as a variational network: from the initial reconstruction (the operator’s default, FDK for CT, its negative values set to 0),
stepssteps of gradient descent on\[E(x) = R(x) + \lambda \lVert A x - y \rVert_2^2 / (2 \lVert A \rVert^2),\]x ← x - (T / steps) ∇R(x) - (λ / steps) Aᵀ(Ax - y) / ‖A‖², with R the TDV regulariser, a learned network. The step T and the weight λ are learned too, unconstrained. Trained end to end (e.g. by
SupervisedSolver); works with any operator withautograd(). Takes the measurements.The regulariser is Kobler’s (VLOGroup’s code); the data term for CT is Zakhar Shumaylov’s, as LION had it in 2024. Training with LION’s solvers doesn’t keep the paper’s constraints on the weights (Kobler’s training projected them after each step); here they are projected once, as they start.
model_parameters(default_parameters()):steps: the gradient steps (10);features: the channels of the regulariser’s network (16);scales: the scales of each macro block (5);macro_blocks: the macro blocks (5);multiplier: the channels’ factor from one scale to the next (1);stop_time: T, as it starts (10);data_weight: λ, as it starts (5);padding: of the convolutions, “symmetric” (the paper’s) or “reflect” (torch’s, its transpose approximated by cropping: as LION had it in 2024).
The network for the operator of
operator_params, withmodel_parameters(default_parameters()if None).- static default_parameters()[source]¶
The TDV of LION’s 2024 benchmark (see the class): 10 steps, a regulariser of 5 macro blocks of 5 scales, 16 channels.