tensorflow / datasets

TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...
https://www.tensorflow.org/datasets
Apache License 2.0
4.27k stars 1.53k forks source link

Can't download "seleb_a" #3855

Open felixt56 opened 2 years ago

felixt56 commented 2 years ago

/!\ PLEASE INCLUDE THE FULL STACKTRACE AND CODE SNIPPET

Short description Can't download "seleb_a"

Environment information


import tensorflow_datasets as tfds

celeba_bldr = tfds.builder('celeb_a')
print(celeba_bldr.info)
celeba_bldr.download_and_prepare()

If you share a colab, make sure to update the permissions to share it.

Link to logs If applicable, <link to gist with logs, stack trace>

Expected behavior I need celeb_a dataset

Additional context Output: build_celeba.py

2022-03-23 18:57:25.652770: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2022-03-23 18:57:25.652786: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2022-03-23 18:57:26.961914: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "NOT_FOUND: Could not locate the credentials file.". Retrieving token from GCE failed with "FAILED_PRECONDITION: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata". tfds.core.DatasetInfo( name='celeb_a', full_name='celeb_a/2.0.1', description=""" CelebFaces Attributes Dataset (CelebA) is a large-scale face attributes dataset with more than 200K celebrity images, each with 40 attribute annotations. The images in this dataset cover large pose variations and background clutter. CelebA has large diversities, large quantities, and rich annotations, including

HouyiDu commented 2 years ago

I have the same issue. Did you solve it? But I find this issue may help as an alternative: https://github.com/tensorflow/tensorflow/issues/41492

felixt56 commented 2 years ago

Unfortunately, not yet.

Look here https://github.com/rasbt/python-machine-learning-book-3rd-edition/tree/master/ch15/downloading-celeba

[https://repository-images.githubusercontent.com/190687137/70787000-14ec-11ea-84f7-6cc9843d119e]https://github.com/rasbt/python-machine-learning-book-3rd-edition/tree/master/ch15/downloading-celeba

python-machine-learning-book-3rd-edition/ch15/downloading-celeba at master · rasbt/python-machine-learning-book-3rd-edition · GitHubhttps://github.com/rasbt/python-machine-learning-book-3rd-edition/tree/master/ch15/downloading-celeba github.com The "Python Machine Learning (3rd edition)" book code repository - python-machine-learning-book-3rd-edition/ch15/downloading-celeba at master · rasbt/python-machine-learning-book-3rd-edition

may be it will help U

Regards

Felix Teplitsky RAFAEL Ltd.


From: HouyiDu @.***> Sent: Monday, March 28, 2022 0:19 To: tensorflow/datasets Cc: TEPLITSKY FELIX; Author Subject: [Marketing Mail] Re: [tensorflow/datasets] Can't download "seleb_a" (Issue #3855)

I have the same issue. Did you solve it?

— Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/datasets/issues/3855#issuecomment-1080021142, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA53JPOBP6SQJ5KZYNUBTITVCDGE7ANCNFSM5RORR3KQ. You are receiving this because you authored the thread.Message ID: @.***>

This email might have been sanitized in order to remove any potentially malicious embedded objects.


This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE SYSTEMS LTD. (hereinafter "RAFAEL") contains confidential information intended for a specific individual and purpose, may constitute information that is privileged or confidential or otherwise protected from disclosure. If you are not the intended recipient, you should contact us immediately and thereafter delete this message from your system. You are hereby notified that any disclosure, copying, dissemination, distribution or forwarding of this message, or the taking of any action based on it, is strictly prohibited. If you have received this e-mail in error, please notify us immediately by e-mail @.*** and completely delete or destroy any and all electronic or other copies of the original message and any attachments thereof.