From ca2f3b56cc052e097705c89c1769a7cecc3fddcc Mon Sep 17 00:00:00 2001 From: isztldav Date: Fri, 31 Jan 2025 10:56:37 +0100 Subject: [PATCH] Fix typo in FID description: Replace "access" with "assess" (#2919) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous description incorrectly used the word "access" instead of "assess" when describing the purpose of Fréchet Inception Distance (FID). This change corrects the typo to ensure clarity and accuracy. --- src/torchmetrics/image/fid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchmetrics/image/fid.py b/src/torchmetrics/image/fid.py index 0560657de73..f30d96638ef 100644 --- a/src/torchmetrics/image/fid.py +++ b/src/torchmetrics/image/fid.py @@ -181,7 +181,7 @@ def _compute_fid(mu1: Tensor, sigma1: Tensor, mu2: Tensor, sigma2: Tensor) -> Te class FrechetInceptionDistance(Metric): - r"""Calculate Fréchet inception distance (FID_) which is used to access the quality of generated images. + r"""Calculate Fréchet inception distance (FID_) which is used to assess the quality of generated images. .. math:: FID = \|\mu - \mu_w\|^2 + tr(\Sigma + \Sigma_w - 2(\Sigma \Sigma_w)^{\frac{1}{2}})