v2.5.0
Datasets ⭐
EXAMPLE CODE
LFW Funneled Dataset
Load the LFW Funneled dataset of face photographs in Python with one line of code in seconds and plug it in TensorFlow and PyTorch with Activeloop Hub.
Visualization of the LFW Funneled Dataset on the Activeloop Platform.

LFW Funneled Dataset

What is LFW Funneled Dataset?

LFW Funneled Dataset is a face photo database developed to explore the problem of unlimited face recognition. LFW Funneled Dataset has the same images present in the original Labeled Faces in the Wild dataset, however, the images in this dataset are aligned using commercial face alignment software.

Downloading LFW Funneled Dataset in Python

Instead of downloading the LFW Funneled Dataset in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.

Load LFW Funneled Dataset in Python

1
import hub
2
ds = hub.load('hub://activeloop/lfw-funneled')
Copied!

LFW Funneled Dataset Structure

LFW Funneled Data Fields

  • images: tensor containing images of the people
  • names: tensor containing the names of the people depicted in the images

How to use LFW Funneled Dataset with PyTorch and TensorFlow in Python

Train a model on LFW Funneled Dataset with PyTorch in Python

Let's use Hub's built-in PyTorch one-line dataloader to connect the data to the compute:
1
dataloader = ds.pytorch(num_workers = 0, batch_size= 4, shuffle = False)
Copied!

Train a model on LFW Funneled Dataset with TensorFlow in Python

1
dataloader = ds.tensorflow()
Copied!

LFW Funneled Dataset Creation

Dataset Collection and Normalization Information

In this database, there are over 13,000 face images collected from the Internet. Each face was signed with the name of the person depicted in the image. 1680 of the people pictured have two or more different photos in the dataset. A new method for aligning the images is used in the LFW Funneled Dataset, using poorly aligned examples of unlabeled classes

Additional Information about LFW Funneled Dataset

LFW Funneled Dataset Description

LFW Funneled Dataset Curators

Gary B. Huang, Vidit Jain, and Erik Learned-Miller

LFW Funneled Dataset Licensing Information

Hub users may have access to a variety of publicly available datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have a license to use the datasets. It is your responsibility to determine whether you have permission to use the datasets under their license. If you're a dataset owner and do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thank you for your contribution to the ML community!

LFW Funneled Dataset Citation Information

1
@InProceedings{Huang2007a,
2
author = {Gary B. Huang and Vidit Jain and Erik Learned-Miller},
3
title = {Unsupervised Joint Alignment of Complex Images},
4
booktitle = {ICCV},
5
year = {2007}
6
}
Copied!