load_example#

deepinv.utils.load_example(name, **kwargs)[source]#

Load example image from the DeepInverse HuggingFace using deepinv.utils.load_url_image().

Parameters:
Returns:

torch.Tensor containing the image.

Examples using load_example:#

A tour of blur operators

A tour of blur operators

A tour of DeepInv’s denoisers

A tour of DeepInv's denoisers

Random phase retrieval and reconstruction methods.

Random phase retrieval and reconstruction methods.

A tour of forward sensing operators

A tour of forward sensing operators

Ptychography phase retrieval

Ptychography phase retrieval

Image transforms for equivariance & augmentations

Image transforms for equivariance & augmentations

Expected Patch Log Likelihood (EPLL) for Denoising and Inpainting

Expected Patch Log Likelihood (EPLL) for Denoising and Inpainting

PnP with custom optimization algorithm (Condat-Vu Primal-Dual)

PnP with custom optimization algorithm (Condat-Vu Primal-Dual)

Plug-and-Play algorithm with Mirror Descent for Poisson noise inverse problems.

Plug-and-Play algorithm with Mirror Descent for Poisson noise inverse problems.

Vanilla PnP for computed tomography (CT).

Vanilla PnP for computed tomography (CT).

Implementing DiffPIR

Implementing DiffPIR

Building your diffusion posterior sampling method using SDEs

Building your diffusion posterior sampling method using SDEs

Implementing DPS

Implementing DPS

Image transformations for Equivariant Imaging

Image transformations for Equivariant Imaging