load_url_image#
- deepinv.utils.load_url_image(url=None, img_size=None, grayscale=False, resize_mode='crop', device='cpu', dtype=torch.float32)[source]#
Load an image from a URL and return a torch.Tensor.
- Parameters:
- Returns:
torch.Tensor
containing the image.
Examples using load_url_image
:#

Reconstructing an image using the deep image prior.
Reconstructing an image using the deep image prior.

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

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

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

Expected Patch Log Likelihood (EPLL) for Denoising and Inpainting
Expected Patch Log Likelihood (EPLL) for Denoising and Inpainting