load_example#
- deepinv.utils.load_example(name, **kwargs)[source]#
Load example image from the DeepInverse HuggingFace using
deepinv.utils.load_url_image()
.- Parameters:
name (str) – filename of the image from the HuggingFace dataset.
kwargs (dict) – keyword args to pass to
deepinv.utils.load_url_image()
- Returns:
torch.Tensor
containing the image.
Examples using load_example
:#

Random phase retrieval and reconstruction methods.
Random phase retrieval and reconstruction methods.

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.

Building your diffusion posterior sampling method using SDEs
Building your diffusion posterior sampling method using SDEs