Skip to content

Commit d18dc0c

Browse files
author
The TensorFlow Datasets Authors
committed
Merge pull request #11020 from shanky-kapoor:lfw_fix
PiperOrigin-RevId: 733229344
2 parents b57d2c8 + 5398678 commit d18dc0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tensorflow_datasets/datasets/lfw/lfw_dataset_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow as tf
2121
import tensorflow_datasets.public_api as tfds
2222

23+
# URL where the data is hosted. This is the same also used e.g. by scikit-learn:
24+
# https://github.com/scikit-learn/scikit-learn/blob/98ed9dc73a86f5f11781a0e21f24c8f47979ec67/sklearn/datasets/_lfw.py#L36
2325
_URL = "https://ndownloader.figshare.com/files/5976018"
2426

2527
LFW_IMAGE_SHAPE = (250, 250, 3)

0 commit comments

Comments
 (0)