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 Ego4D fut_loc data. #298

Open
FreddieRao opened this issue Feb 5, 2024 · 2 comments
Open

Cannot Download Ego4D fut_loc data. #298

FreddieRao opened this issue Feb 5, 2024 · 2 comments

Comments

@FreddieRao
Copy link

FreddieRao commented Feb 5, 2024

Hi, I'm not able to download the fut_loc dataset, which returns the following error. I have tested my credential enables me to download other datasets, such as imu. Any clue what's going on here?

(base) [user@vscode1 ego4d_data]$ python -m ego4d.cli.cli --output_directory="~/ego4d_data" --datasets fut_loc annotations
Warning: Non-standard Dataset Specfied (Allowed, will attempt download): ['fut_loc']
Datasets to download: {'annotations', 'fut_loc'}
Download Path: /users/user/ego4d_data/v2
Ego4D Metadata: /users/user/ego4d_data/ego4d.json
Checking requested datasets and versions...
Created download directory for version 'v2_1' of dataset: 'annotations' at: /users/user/ego4d_data/v2/annotations
Created download directory for version 'v2_1' of dataset: 'fut_loc' at: /users/user/ego4d_data/v2/fut_loc
Traceback (most recent call last):
File "/oscar/runtime/software/external/miniconda3/23.11.0/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/oscar/runtime/software/external/miniconda3/23.11.0/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/users/user/.local/lib/python3.10/site-packages/ego4d/cli/cli.py", line 255, in
main()
File "/users/user/.local/lib/python3.10/site-packages/ego4d/cli/cli.py", line 251, in main
main_cfg(config)
File "/users/user/.local/lib/python3.10/site-packages/ego4d/cli/cli.py", line 119, in main_cfg
manifest_path = download_manifest_for_version(
File "/users/user/.local/lib/python3.10/site-packages/ego4d/cli/manifest.py", line 159, in download_manifest_for_version
_manifest_object(version, dataset, s3).download_file(str(download_path))
File "/users/user/.local/lib/python3.10/site-packages/boto3/s3/inject.py", line 361, in object_download_file
return self.meta.client.download_file(
File "/users/user/.local/lib/python3.10/site-packages/boto3/s3/inject.py", line 192, in download_file
return transfer.download_file(
File "/users/user/.local/lib/python3.10/site-packages/boto3/s3/transfer.py", line 405, in download_file
future.result()
File "/users/user/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 103, in result
return self._coordinator.result()
File "/users/user/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 266, in result
raise self._exception
File "/users/user/.local/lib/python3.10/site-packages/s3transfer/tasks.py", line 269, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "/users/user/.local/lib/python3.10/site-packages/s3transfer/download.py", line 354, in _submit
response = client.head_object(
File "/users/user/.local/lib/python3.10/site-packages/botocore/client.py", line 553, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/users/user/.local/lib/python3.10/site-packages/botocore/client.py", line 1009, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

@Anirudh257
Copy link

@deepseek-ddkk
Copy link

Add --version v1, it be resolved.

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

3 participants