Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wider_face download fails with error 404 #5230

Open
tiagonuneslx opened this issue Jan 13, 2024 · 6 comments
Open

wider_face download fails with error 404 #5230

tiagonuneslx opened this issue Jan 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@tiagonuneslx
Copy link

tiagonuneslx commented Jan 13, 2024

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 tiagonuneslx added the bug Something isn't working label Jan 13, 2024
@marcenacp
Copy link
Collaborator

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

@oferch
Copy link

oferch commented Jan 30, 2024

Any news on that? Still happening

@marcenacp
Copy link
Collaborator

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)

@Rahulraj0308
Copy link

@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

@marcenacp
Copy link
Collaborator

@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.

@Rahulraj0308
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants