-
-
Notifications
You must be signed in to change notification settings - Fork 615
Closed
Labels
Description
Motivation and description
The current implementation of SSIM in ImageQualityIndexes.jl is not GPU friendly (and probably not AD friendly?). I'm wondering if this is a feature that should go in Flux or NNlib+NNlibCUDA?
In PyTorch, SSIM is not native but implemetented by several external repositories, ex. pytorch-msssim, torchmetrics.
SSIM is a very common image quality metric but also a common loss function (negative ssim) in image reconstruction problems, ex. VarNet's MRI reconstruction.
Possible Implementation
The fastmri implementation of SSIM in pytorch looks like the most straightforward to port over.