wider_face download fails with error 404
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-nightlyversion: tensorflow-datasets 4.9.4 -
tensorflow/tf-nightlyversion: tensorflow 2.15.0 -
Does the issue still exists with the last
tfds-nightlypackage (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.
Hi, thanks for opening the issue. I just contacted the creator of the dataset to understand the issue.
Any news on that? Still happening
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 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, 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, ya I used it earlier in one of my projects. Thanks for the information.