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

cannot download HOT3D-Clips #21

Open
kgg012392 opened this issue Nov 18, 2024 · 1 comment
Open

cannot download HOT3D-Clips #21

kgg012392 opened this issue Nov 18, 2024 · 1 comment

Comments

@kgg012392
Copy link

I try to download HOT3D-Clips with the following script:

from pathlib import Path
from huggingface_hub import snapshot_download

dataset_name = "hot3d"
local_dir = Path(__file__).parent.joinpath('HOT3D').as_posix()
print(local_dir)

snapshot_download(repo_id="bop-benchmark/datasets",
                  allow_patterns=f"{dataset_name}/*",
                  repo_type="dataset",
                  local_dir=local_dir,
                  max_workers=32,
                  force_download=True)

But get the following error:

requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='cdn-lfs-us-1.hf.co', port=443): Max retries exceeded with url: /repos/87/aa/87aa2f724b8187089ce1b2906f91237c7b52f38a63031d4ef889281784df8599/afa2ce0c9f47b1b3d377c64488a5c5f8d91be06fdb1930c8366195c52bdad50d?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27obj_000017_1.tar%3B+filename%3D%22obj_000017_1.tar%22%3B&response-content-type=application%2Fx-tar&Expires=1732029030&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTczMjAyOTAzMH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzg3L2FhLzg3YWEyZjcyNGI4MTg3MDg5Y2UxYjI5MDZmOTEyMzdjN2I1MmYzOGE2MzAzMWQ0ZWY4ODkyODE3ODRkZjg1OTkvYWZhMmNlMGM5ZjQ3YjFiM2QzNzdjNjQ0ODhhNWM1ZjhkOTFiZTA2ZmRiMTkzMGM4MzY2MTk1YzUyYmRhZDUwZD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=VF6c5mkudl~dQuc6RNKzXV5I66G3hu~fKcm76uldKZTxwCVzNHSI3hq2ISK3OB1c-qiMcWfIl9oeuZmoUyefELUN8WjQThaOxxmWf-xGpGeTVX~qmJcUBoqFiAyZr2Mu9pQj0Jwc2uNgwluFZ4a2MrAYG0uwB-pLsCB~9kNPr-BSLA5663tpmMdZVEV-iUOL795djQMeXHvP9AyP8QSpTyIMxpIPNp-nWz0y9qAE4IWb5k6uDPvT2TT3NAMwfvdwocoHmM1lS4HmqZ17lSe9mmcL9CzM3JM04N9aJG~7BYAAkg9LV~vCFXXAEBcjNzxofUhIRKIDUZWMnXXUcTDtlw__&Key-Pair-Id=K24J24Z295AEI9 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fa8cff6d6d0>, 'Connection to cdn-lfs-us-1.hf.co timed out. (connect timeout=10)'))"), '(Request ID: da64fbc5-be42-4e63-8b2e-2cecea741682)')

What's the recommended way to download HOT3D-Clips?

@nv-nguyen
Copy link

Hi @kgg012392,

Thank you for reaching out!

I tried the script above and it works perfectly for me without any errors. Could you check your connection and retry?

Thank you,
Nguyen

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

2 participants