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

Error Downloading CelebA Dataset Due to Access Restrictions on Google Drive #10

Open
Lassehhansen opened this issue Dec 27, 2023 · 0 comments

Comments

@Lassehhansen
Copy link

While attempting to download the CelebA dataset using the provided script (subpopbench.scripts.download), I encountered an access denied error from Google Drive followed by a FileNotFoundError. This issue prevents the successful execution of the dataset download script.

Steps to Reproduce

  1. Activate the subpop_bench environment.
  2. Run the dataset download script with the command:
python -m subpopbench.scripts.download --data_path data --download celeba waterbirds civilcomments multinli imagenetbg metashift nico++ breeds cmnist

Error

The script begins the download process for the CelebA dataset but fails with the following error message:

INFO:root:Downloading CelebA...

Access denied with the following error:

    Cannot retrieve the public link of the file. You may need to change
    the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:

     https://drive.google.com/uc?id=1mb1R6dXfWbvk3DnlWOBO8pDeoBKOcLE6 

... [Followed by a FileNotFoundError for img_align_celeba.zip]

I guess the Google Drive link for the CelebA dataset might have moved to restricted access?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant