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

Error Downloading HM3D Dataset: tarfile.ReadError #2406

Open
MrCapricornLiu opened this issue Jun 8, 2024 · 2 comments
Open

Error Downloading HM3D Dataset: tarfile.ReadError #2406

MrCapricornLiu opened this issue Jun 8, 2024 · 2 comments
Labels
solution proposed A solution or workaround is proposed but may not be merged to main. support User support requested (e.g. specific issue or API usage question)

Comments

@MrCapricornLiu
Copy link

Habitat-Sim Version

v0.3.1

🐛 Bug Report

I encountered an issue while following the instructions provided here to download the HM3D dataset using the command:

python -m habitat_sim.utils.datasets_download --username <api-token-id> --password <api-token-secret> --uids hm3d_minival_v0.2

However, there are some problems during the download process. Please see the detailed error in the screenshot below:

  File "/root/miniconda3/envs/habitat_latest/lib/python3.9/tarfile.py", line 1797, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

issue

Steps to Reproduce

To reproduce the behavior, run the following command (the api-token is got from here: Developer Tools -> API Token Management):

python -m habitat_sim.utils.datasets_download --username 038b1d8ac662cb50 --password f3f88b6f885c882625ae34cab9d58ba1 --uids hm3d_minival_v0.2 --data-path /root/autodl-tmp/project/download

System Info

  • OS: Ubuntu 20.04
  • PyTorch Installation Method: conda
  • Build Command (if compiling from source):
  • Python Version: 3.9
  • CUDA Version: 11.0
@ZiruiLi-133
Copy link

I have also met the same issue, this might happen because we did not have access to the dataset so basically nothing is downloaded. After I follow the instructions mentioned at https://github.com/matterport/habitat-matterport-3dresearch?tab=readme-ov-file and applied for the access, the problem was solved.

@aclegg3
Copy link
Contributor

aclegg3 commented Jul 10, 2024

Hey @MrCapricornLiu,

It is true that you will need access first. @ZiruiLi-133 I'm glad to hear this resolved the problem for you.

This can also result from temporary outages of the server resulting in corrupted or empty packages. Please ensure you have access and try again. If that doesn't resolve the issue we can dig in more.

@aclegg3 aclegg3 added support User support requested (e.g. specific issue or API usage question) solution proposed A solution or workaround is proposed but may not be merged to main. labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution proposed A solution or workaround is proposed but may not be merged to main. support User support requested (e.g. specific issue or API usage question)
Projects
None yet
Development

No branches or pull requests

3 participants