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

Issue downloading Tartanair #9

Open
jiadingfang opened this issue Oct 21, 2024 · 2 comments
Open

Issue downloading Tartanair #9

jiadingfang opened this issue Oct 21, 2024 · 2 comments

Comments

@jiadingfang
Copy link

I tried to download Tartanair with the provided script download_tartanair.sh . However running it results with the following error:

36 files are going to be downloaded...

  • tartanair/abandonedfactory/Hard/depth_left.zip
  • tartanair/abandonedfactory/Hard/image_left.zip
  • tartanair/abandonedfactory_night/Hard/depth_left.zip
  • tartanair/abandonedfactory_night/Hard/image_left.zip
  • tartanair/amusement/Hard/depth_left.zip
  • tartanair/amusement/Hard/image_left.zip
  • tartanair/carwelding/Hard/depth_left.zip
  • tartanair/carwelding/Hard/image_left.zip
  • tartanair/endofworld/Hard/depth_left.zip
  • tartanair/endofworld/Hard/image_left.zip
  • tartanair/gascola/Hard/depth_left.zip
  • tartanair/gascola/Hard/image_left.zip
  • tartanair/hospital/Hard/depth_left.zip
  • tartanair/hospital/Hard/image_left.zip
  • tartanair/japanesealley/Hard/depth_left.zip
  • tartanair/japanesealley/Hard/image_left.zip
  • tartanair/neighborhood/Hard/depth_left.zip
  • tartanair/neighborhood/Hard/image_left.zip
  • tartanair/ocean/Hard/depth_left.zip
  • tartanair/ocean/Hard/image_left.zip
  • tartanair/office/Hard/depth_left.zip
  • tartanair/office/Hard/image_left.zip
  • tartanair/office2/Hard/depth_left.zip
  • tartanair/office2/Hard/image_left.zip
  • tartanair/oldtown/Hard/depth_left.zip
  • tartanair/oldtown/Hard/image_left.zip
  • tartanair/seasidetown/Hard/depth_left.zip
  • tartanair/seasidetown/Hard/image_left.zip
  • tartanair/seasonsforest/Hard/depth_left.zip
  • tartanair/seasonsforest/Hard/image_left.zip
  • tartanair/seasonsforest_winter/Hard/depth_left.zip
  • tartanair/seasonsforest_winter/Hard/image_left.zip
  • tartanair/soulcity/Hard/depth_left.zip
  • tartanair/soulcity/Hard/image_left.zip
  • tartanair/westerndesert/Hard/depth_left.zip
  • tartanair/westerndesert/Hard/image_left.zip
    Traceback (most recent call last):
    File "/home/fjd/monst3r/data/download_tartanair.py", line 195, in
    content_list = get_all_s3_objects(s3, bucket_name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/fjd/monst3r/data/download_tartanair.py", line 92, in get_all_s3_objects
    response = s3.list_objects_v2(**list_kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/fjd/miniforge3/envs/monst3r/lib/python3.11/site-packages/botocore/client.py", line 569, in _api_call
    return self._make_api_call(operation_name, kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/fjd/miniforge3/envs/monst3r/lib/python3.11/site-packages/botocore/client.py", line 1023, in _make_api_call
    raise error_class(parsed_response, operation_name)
    botocore.exceptions.ClientError: An error occurred (Unauthorized) when calling the ListObjectsV2 operation: Unauthorized

Appreciate it if you could help!

@Junyi42
Copy link
Owner

Junyi42 commented Oct 21, 2024

Hi @jiadingfang,

Thanks for pointing out the issue.

It looks like this is a very recent issue of the TartanAir dataset: castacks/tartanair_tools#57, which I didn't encounter earlier. Could you please try one solution posted here: boto/boto3#3594?

Thanks.

@kami93
Copy link

kami93 commented Oct 22, 2024

Hi @jiadingfang,

Thanks for pointing out the issue.

It looks like this is a very recent issue of the TartanAir dataset: castacks/tartanair_tools#57, which I didn't encounter earlier. Could you please try one solution posted here: boto/boto3#3594?

Thanks.

The linked solution describes the server-side control of the access permission in the S3; seems irrelevant to the issue. Instead, the access & secret keys in the download script have expired, appearently. One should contact the authors of TartanAir dataset to update those keys in the script.

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