lfw
Stay organized with collections
Save and categorize content based on your preferences.
Labeled Faces in the Wild: A Database for Studying Face Recognition in
Unconstrained Environments
Split |
Examples |
'train' |
13,233 |
FeaturesDict({
'image': Image(shape=(250, 250, 3), dtype=uint8),
'label': Text(shape=(), dtype=string),
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
image |
Image |
(250, 250, 3) |
uint8 |
|
label |
Text |
|
string |
|

@TechReport{LFWTech,
author = {Gary B. Huang and Manu Ramesh and Tamara Berg and Erik Learned-Miller},
title = {Labeled Faces in the Wild: A Database for Studying Face Recognition in Unconstrained Environments},
institution = {University of Massachusetts, Amherst},
year = 2007,
number = {07-49},
month = {October}
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-14 UTC.
[null,null,["Last updated 2025-03-14 UTC."],[],[],null,["# lfw\n\n\u003cbr /\u003e\n\n- **Description**:\n\nLabeled Faces in the Wild: A Database for Studying Face Recognition in\nUnconstrained Environments\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/lfw)\n\n- **Homepage** :\n \u003chttp://vis-www.cs.umass.edu/lfw\u003e\n\n- **Source code** :\n [`tfds.datasets.lfw.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/lfw/lfw_dataset_builder.py)\n\n- **Versions**:\n\n - **`0.1.1`** (default): No release notes.\n- **Download size** : `172.20 MiB`\n\n- **Dataset size** : `180.28 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Only when `shuffle_files=False` (train)\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'train'` | 13,233 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(250, 250, 3), dtype=uint8),\n 'label': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|---------------|--------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (250, 250, 3) | uint8 | |\n| label | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('label', 'image')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @TechReport{LFWTech,\n author = {Gary B. Huang and Manu Ramesh and Tamara Berg and Erik Learned-Miller},\n title = {Labeled Faces in the Wild: A Database for Studying Face Recognition in Unconstrained Environments},\n institution = {University of Massachusetts, Amherst},\n year = 2007,\n number = {07-49},\n month = {October}\n }"]]