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

download_assets.sh #13

Open
loujinming147 opened this issue Jun 27, 2024 · 7 comments
Open

download_assets.sh #13

loujinming147 opened this issue Jun 27, 2024 · 7 comments

Comments

@loujinming147
Copy link

Great works! But when I try to run download_assets.sh to download ImageNet-256x256 and ImageNet-512x512 files, I get the following error and the address I get is:
https://slurm-ord.s3.amazonaws.com/datasets/imagenet_256_latent_lmdb/train/data.mdb
https://slurm-ord.s3.amazonaws.com/datasets/imagenet-wds/latent_imagenet_512_train-0000.tar

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>7G2B5AN15R4ZJGXZ</RequestId>
<HostId>YK/P2VRZoUArpdown/QNAy3z8t8UTCzN7Gqmdsrp2ntH7aw4VTm9EVYwnhDvpsE0Wu3yT1Eyytow0iYkZ5Z1mR/34iL5SpqX</HostId>
</Error>
@Andy1621
Copy link

Same question

@devzhk
Copy link
Contributor

devzhk commented Jul 4, 2024

Hi,

The download links have been updated. The latest links are as follows

  1. Imagenet256: https://hzpublic-hub.s3.us-west-2.amazonaws.com/maskdit/data/imagenet_256_latent_lmdb/train/
  2. Imagenet512: https://hzpublic-hub.s3.us-west-2.amazonaws.com/maskdit/data/imagenet-wds/

Updating the _url_dict in download_assets.py accordingly will fix the issue .

@Andy1621
Copy link

Andy1621 commented Jul 6, 2024

Thanks!

@arghavan-kpm
Copy link

Hi, the new links are also giving the same access denied errors. Is there any alternative download link? Thanks.

@devzhk
Copy link
Contributor

devzhk commented Jul 18, 2024

Hi,

The new links attached above are part of the download URLs. The actual URL for each file is defined in download_assets.py. You can either

  1. Update the _url_dict in download_assets.py with the new links and run download_assets.py to download the data.
  2. Update the _url_dict, extract the exact URL for each file from download_assets.py, and paste it into your browser to download it.

@arghavan-kpm
Copy link

Got it, thanks! We should actually replace these with links for imagenet256-latent-lmdb and imagenet512-latent-wds, respectively. Also, could share updated link for vae as well?

@devzhk
Copy link
Contributor

devzhk commented Jul 18, 2024

Yes, it's shared in #14 .

@devzhk devzhk mentioned this issue Nov 14, 2024
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

4 participants