SubpopBench icon indicating copy to clipboard operation
SubpopBench copied to clipboard

Error Downloading CelebA Dataset Due to Access Restrictions on Google Drive

Open Lassehhansen opened this issue 6 months ago • 0 comments

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?

Lassehhansen avatar Dec 27 '23 12:12 Lassehhansen