datasets icon indicating copy to clipboard operation
datasets copied to clipboard

wider_face download fails with error 404

Open tiagonuneslx opened this issue 2 years ago • 6 comments

Short description The wider_face dataset download is failing with error 404.

Failed to get url https://drive.usercontent.google.com/download?id=1sAl2oml7hK6aZRdgRjqQJsjV5CEr7nl4&export=download. HTTP code: 404.

Environment information

  • Operating System: Apple M2 Pro Sonoma 14.2.1

  • Python version: 3.10

  • tensorflow-datasets/tfds-nightly version: tensorflow-datasets 4.9.4

  • tensorflow/tf-nightly version: tensorflow 2.15.0

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ? Yes - 4.9.4.dev202401130044

Reproduction instructions

import tensorflow_datasets as tfds
tfds.load('wider_face')

Link to logs https://gist.github.com/tiagonuneslx/a90c43fd28a9e7463a261c557fc4638b

Expected behavior Dataset should download without a 404 error.

Additional context No additional context.

tiagonuneslx avatar Jan 13 '24 12:01 tiagonuneslx

Hi, thanks for opening the issue. I just contacted the creator of the dataset to understand the issue.

marcenacp avatar Jan 15 '24 09:01 marcenacp

Any news on that? Still happening

oferch avatar Jan 30 '24 09:01 oferch

The author hasn't answered yet and the URLs are broken on their side. I see the dataset is on Hugging Face though, so it's still possible to download from Hugging Face:

!pip install datasets
import tensorflow_datasets as tfds
ds = tfds.load('huggingface:wider_face')
for example in ds['train'].take(1):
  print(example)

marcenacp avatar Jan 31 '24 07:01 marcenacp

@marcenacp method works properly and also you can try import tensorflow_datasets as tfds wider_face_builder = tfds.builder('wider_face') wider_face_builder.download_and_prepare() wider_face_dataset = wider_face_builder.as_dataset() it worked on my system

Rahulraj0308 avatar Feb 01 '24 13:02 Rahulraj0308

@Rahulraj0308, maybe you already downloaded this dataset in the past on your system and still have the files in your cache. This would explain why it works on your system and not on others.

marcenacp avatar Feb 01 '24 14:02 marcenacp

@marcenacp, ya I used it earlier in one of my projects. Thanks for the information.

Rahulraj0308 avatar Feb 01 '24 14:02 Rahulraj0308