We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f03dc5 commit 53d154dCopy full SHA for 53d154d
torchvision/datasets/lfw.py
@@ -51,8 +51,13 @@ def __init__(
51
self.data: list[Any] = []
52
53
if download:
54
+ raise RuntimeError(
55
+ "LFW dataset is no longer available for download."
56
+ "Please download the dataset manually and place it in the specified directory"
57
+ )
58
self.download()
59
60
+
61
if not self._check_integrity():
62
raise RuntimeError("Dataset not found or corrupted. You can use download=True to download it")
63
0 commit comments