From ee934995828ec3b36b98b60f87ec22b0eca1171c Mon Sep 17 00:00:00 2001 From: JSap0914 Date: Sun, 5 Jul 2026 15:33:07 +0900 Subject: [PATCH] Fix typo in LFWPairs docstring --- torchvision/datasets/lfw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/datasets/lfw.py b/torchvision/datasets/lfw.py index feb6a9bf5f8..144a294b37c 100644 --- a/torchvision/datasets/lfw.py +++ b/torchvision/datasets/lfw.py @@ -257,7 +257,7 @@ def __getitem__(self, index: int) -> tuple[Any, Any, int]: index (int): Index Returns: - tuple: (image1, image2, target) where target is `0` for different indentities and `1` for same identities. + tuple: (image1, image2, target) where target is `0` for different identities and `1` for same identities. """ img1, img2 = self.data[index] img1, img2 = self._loader(img1), self._loader(img2)