Skip to content

Commit c6ad489

Browse files
author
pytorchbot
committed
2026-04-10 nightly release (e160dc8)
1 parent e51b6cc commit c6ad489

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

torchvision/datasets/lfw.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ def __init__(
5252

5353
if download:
5454
raise ValueError(
55-
"LFW dataset is no longer available for download."
56-
"Please download the dataset manually and place it in the specified directory"
55+
"LFW dataset is no longer available for automatic download."
56+
"Please download the dataset manually and place it in the specified directory."
57+
"A commonly used mirror is available at: "
58+
"https://www.kaggle.com/datasets/jessicali9530/lfw-dataset"
5759
)
5860
self.download()
5961

@@ -98,6 +100,7 @@ class LFWPeople(_LFW):
98100
99101
The LFW dataset is no longer available for automatic download. Please
100102
download it manually and place it in the specified directory.
103+
A commonly used mirror is available at: https://www.kaggle.com/datasets/jessicali9530/lfw-dataset
101104
102105
Args:
103106
root (str or ``pathlib.Path``): Root directory of dataset where directory
@@ -186,6 +189,7 @@ class LFWPairs(_LFW):
186189
187190
The LFW dataset is no longer available for automatic download. Please
188191
download it manually and place it in the specified directory.
192+
A commonly used mirror is available at: https://www.kaggle.com/datasets/jessicali9530/lfw-dataset
189193
190194
Args:
191195
root (str or ``pathlib.Path``): Root directory of dataset where directory

0 commit comments

Comments
 (0)