evaluate.ssim receives a 2D array when a 3D array is expected with a slice dimension first. This results in wrong validation SSIM, which is fixed by adding a singleton dimension to the recons and targets.
Maybe a dimension check in evaluate.ssim would help avoiding this bug later?
evaluate.ssim
receives a 2D array when a 3D array is expected with a slice dimension first. This results in wrong validation SSIM, which is fixed by adding a singleton dimension to the recons and targets.Maybe a dimension check in
evaluate.ssim
would help avoiding this bug later?