deepinv.metric#
Metrics are generally used to evaluate the performance of a model, or as the distance function inside a loss function. Please refer to the user guide for more information.
Base class#
User Guide: refer to Metrics for more information.
Base class for metrics. |
Full Reference Metrics#
User Guide: refer to Full Reference Metrics for more information.
deepinv.metric.MSE(complex_abs, reduction, norm_inputs, center_crop, |
|
Normalized Mean Squared Error metric. |
|
deepinv.metric.MAE(complex_abs, reduction, norm_inputs, center_crop, |
|
Peak Signal-to-Noise Ratio (PSNR) metric. |
|
Compute the signal-to-noise ratio (SNR) |
|
Structural Similarity Index (SSIM) metric using torchmetrics. |
|
Combined L2 and L1 metric. |
|
\(\ell_p\) metric for \(p>0\). |
|
Learned Perceptual Image Patch Similarity (LPIPS) metric. |
|
deepinv.metric.SpectralAngleMapper(train_loss, reduction, norm_inputs, center_crop, |
|
Error relative global dimensionless synthesis metric. |
|
HaarPSI metric with tuned parameters. |
No Reference Metrics#
User Guide: refer to No Reference Metrics for more information.
Natural Image Quality Evaluator (NIQE) metric. |
|
Quality with No Reference (QNR) metric for pansharpening. |
|
No-reference blur strength metric for batched images. |
|
No-reference sharpness index metric for 2D images. |