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

The download of dataset hm3d_train_v0.2 was unsuccessful #37

Open
orange0131 opened this issue Jul 5, 2024 · 6 comments
Open

The download of dataset hm3d_train_v0.2 was unsuccessful #37

orange0131 opened this issue Jul 5, 2024 · 6 comments

Comments

@orange0131
Copy link

In Clone and install habitat-lab, then download datasets
In this step, the run is finished
python -m habitat_sim.utils.datasets_download
--username $MATTERPORT_TOKEN_ID --password $MATTERPORT_TOKEN_SECRET
--uids hm3d_train_v0.2
--data-path $DATA_DIR &&
python -m habitat_sim.utils.datasets_download
--username $MATTERPORT_TOKEN_ID --password $MATTERPORT_TOKEN_SECRET
--uids hm3d_val_v0.2
--data-path $DATA_DIR &&
After that, the error message is file: tarfile. ReadError: file could not be opened successfully

@imfks
Copy link

imfks commented Jul 5, 2024

Check ur password, it's api token secret not the account password, or maybe u haven't send request to matterport?
I filled in this, after getting their reply I downloaded the datasets again, then I successfully tar those files.

@orange0131
Copy link
Author

Check ur password, it's api token secret not the account password, or maybe u haven't send request to matterport? I filled in this, after getting their reply I downloaded the datasets again, then I successfully tar those files.

Okay, I submitted my application yesterday, how long does it take to get it through

@imfks
Copy link

imfks commented Jul 5, 2024

I recieved their email after four days, but I don't know if it's four days for everyone.

@orange0131
Copy link
Author

I recieved their email after four days, but I don't know if it's four days for everyone.
Hello, I approved the application, and then ran the command and started the download, but there was an error after downloading:
100 27.1G 100 27.1G 0 0 9.8M 0 0:47:10 0:47:10 --:--:-- 10.3M
Traceback (most recent call last):
File "/home/orange/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/orange/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/orange/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 772, in
main(sys.argv[1:])
File "/home/orange/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 766, in main
download_and_place(
File "/home/orange/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 602, in download_and_place
with tarfile.open(data_path + package_name, "r:*") as tar_ref:
File "/home/orange/anaconda3/envs/vlfm/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

@Roberyan
Copy link

@orange0131
I got the same problem after applying for the permission:

Traceback (most recent call last):
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 772, in <module>
    main(sys.argv[1:])
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 766, in main
    download_and_place(
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 602, in download_and_place
    with tarfile.open(data_path + package_name, "r:*") as tar_ref:
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/tarfile.py", line 1826, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

Did you solve this problem?

@qwer137559
Copy link

@orange0131 I got the same problem after applying for the permission:

Traceback (most recent call last):
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 772, in <module>
    main(sys.argv[1:])
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 766, in main
    download_and_place(
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_sim/utils/datasets_download.py", line 602, in download_and_place
    with tarfile.open(data_path + package_name, "r:*") as tar_ref:
  File "/home/user/anaconda3/envs/vlfm/lib/python3.9/tarfile.py", line 1826, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

Did you solve this problem?

Currently,did you solve this problem?

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