Reconstructor#
- class deepinv.models.Reconstructor(device='cpu')[source]#
Bases:
ModuleBase class for reconstruction models.
Provides a template for defining reconstruction models.
Reconstructors provide a signal estimate
x_hatasx_hat = model(y, physics)whereyare the measurements andphysicsis the forward model \(A\) (possibly including information about the noise distribution too).The base class inherits from
torch.nn.Module.- forward(y, physics, **kwargs)[source]#
Applies reconstruction model \(\inversef{y}{A}\).
- Parameters:
y (torch.Tensor) – measurements.
physics (deepinv.physics.Physics) – forward model \(A\).
- Returns:
(
torch.Tensor) reconstructed tensor.
Examples using Reconstructor:#
Imaging inverse problems with adversarial networks
Reconstructing an image using the deep image prior.
Building your diffusion posterior sampling method using SDEs
Self-supervised MRI reconstruction with Artifact2Artifact
Self-supervised learning with Equivariant Imaging for MRI.
Self-supervised learning from incomplete measurements of multiple operators.
Self-supervised denoising with the Neighbor2Neighbor loss.
Self-supervised denoising with the Generalized R2R loss.
Self-supervised learning with measurement splitting