tancik / learnit

MIT License
159 stars 27 forks source link

Cannot create a builder in file meta_demo.ipynb #14

Open miera-qian opened 10 months ago

miera-qian commented 10 months ago

When I run this code in Colab,

gcs_base_dir = "gs://celeb_a_dataset/"
builder = tfds.builder("celeb_a", data_dir=gcs_base_dir, version='2.1.0')
builder.download_and_prepare()

I encounter the following error ''AssertionError: Failed to construct dataset celeb_a: Dataset celeb_a cannot be loaded at version 2.0.0, only: 2.1.0.' After I changed the version to 2.1.0, I encountered the following error ’Anonymous caller does not have storage.objects.create access to the Google Cloud Storage object. Permission 'storage.objects.create' denied on resource.‘ I don't know how to solve this problem Thanks in advance!

SaraAghajanzadeh commented 10 months ago

I am also facing the same issue and don't know how to solve it. Any help is appreciated.

kartheekmedathati commented 9 months ago

I am not associated with the repository but after trying out few solutions (https://github.com/tensorflow/tensorflow/issues/41492) version 2.0.0 with the following combination seems to have worked: tensorflow==2.13.0 tensorflow_datasets==4.9.2.

And I have also prepared a Dockerfile with few minor changes that were required to be made to get the code running, you can find it here: https://github.com/kartheekmedathati/3rdParty_learnit