deepinv.utils#
This module provides various plotting and utility functions. Please refer to the user guide for more information.
Plotting#
User Guide: refer to Plotting for more information.
Plots a list of images. |
|
Plots the metrics of a Plug-and-Play algorithm. |
|
Plot the parameters of the model before and after training. |
|
Plots a list of images with zoomed-in insets extracted from the images. |
|
Plots and animates a list of image sequences. |
|
Plots an orthogonal view of 3D images. |
TensorList#
User Guide: refer to TensorList for more information.
Represents a list of |
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
Logging#
User Guide: refer to Logging for more information.
Stores values and keeps track of averages and standard deviations. |
|
Get current timestamp string. |
Other#
User Guide: refer to Other for more information.
Returns the GPU device with the most free memory. |
|
Return a folder to store deepinv datasets. |
|
Get URL for image from DeepInverse HuggingFace repository. |
|
Get URL for degradation from DeepInverse HuggingFace repository. |
|
Load an image from a URL and return a torch.Tensor. |
|
Load an image from a file and return a torch.Tensor. |
|
Loads an ImageFolder dataset from DeepInverse HuggingFace repository. |
|
Loads a degradation tensor from DeepInverse HuggingFace repository. |
|
Returns a |
|
Demo MRI reconstruction model for use in relevant examples. |
Stores values and keeps track of averages and standard deviations. |
|