LION.models.iterative_unrolled.LG¶
Classes
|
Learned Gradient (Adler and Öktem, 2017): |
|
A learned-gradient block: 3x3 convolutions through the |
- class LION.models.iterative_unrolled.LG.LG(operator_params, model_parameters=None)[source]¶
Bases:
LIONmodelLearned Gradient (Adler and Öktem, 2017):
n_itersupdates of the image, each a CNN of the image, a memory and the data-fit gradientAᵀ(y - A x), with learned step sizes; withtv, also of a TV gradient (LGTV). Starts from the initial reconstruction. Takes the measurements.model_parameters(default_parameters()):channels: each block’s channels, a list: its input (the image, the memory, the gradient, and the TV gradient withtv) to its output (the memory, then the update); [7, 32, 32, 6];n_iters: the iterations (5);tv: also give each block a TV gradient, with a learned step size (LGTV; False, as the paper).LG.lgtv_parameters()are LGTV’s.
Initialize internal Module state, shared by both nn.Module and ScriptModule.
- static default_parameters()[source]¶
5 iterations of blocks of 32 channels, a memory of 5 channels, no TV gradient (see the class).
- static lgtv_parameters()[source]¶
LGTV: LG whose blocks also get a TV gradient (
tv), as in Kiss et al., 2025 (see the class).