load_torch_url#
- deepinv.utils.load_torch_url(url, device='cpu', **kwargs)[source]#
Load an array from url and read it by torch.load.
- Parameters:
url (str) – URL of the image file.
device (str, torch.device) – Device on which to load the tensor.
- Returns:
weights or tensors contained in file.
- Return type:
Examples using load_torch_url:#
Low-dose CT with ASTRA backend and Total-Variation (TV) prior
Low-dose CT with ASTRA backend and Total-Variation (TV) prior
Patch priors for limited-angle computed tomography
Patch priors for limited-angle computed tomography