tensorflow / tensorflow/datasets

Unable to load the LFW dataset

Open
#11,012 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug contributions welcome
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Short description
Unable to load the LFW dataset via TensorFlow Datasets for about a month. The download fails with a NameResolutionError for vis-www.cs.umass.edu.

Environment information
Colab

Reproduction instructions

import tensorflow_datasets as tfds

ds = tfds.load("lfw", split="train")

Full stack trace:
WARNING:urllib3.connectionpool:Retrying (Retry(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by
'NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7e382ee39cd0>: Failed to resolve 'vis-www.cs.umass.edu' ([Errno -2] Name or service not known)")': /lfw/lfw.tgz

Additional context
It appears the domain vis-www.cs.umass.edu is no longer resolving. Is there an alternate download URL or a recommended workaround so that tfds recognizes the dataset?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reported tfds.load("lfw", split="train") reproduction in the stated Colab environment and trace the download failure for vis-www.cs.umass.edu. The issue names no source file or test; done means the LFW dataset loads through TFDS using a working source or documented workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.