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

BrokenPipeError: [Errno 32] Broken pipe #70

Open
daiki240 opened this issue May 29, 2024 · 2 comments
Open

BrokenPipeError: [Errno 32] Broken pipe #70

daiki240 opened this issue May 29, 2024 · 2 comments

Comments

@daiki240
Copy link

Hi,
After configuring according to readme.md, I run the command python main.py -n1 --auto_gpu_config 0 --split val and get the following error.

Traceback (most recent call last):
File "main.py", line 770, in
main()
File "main.py", line 120, in main
envs = make_vec_envs(args)
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/init.py", line 7, in make_vec_envs
envs = construct_envs(args)
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/habitat/init.py", line 102, in construct_envs
range(args.num_processes))
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/habitat/habitat_api/habitat/core/vector_env.py", line 117, in init
read_fn() for read_fn in self._connection_read_fns
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/habitat/habitat_api/habitat/core/vector_env.py", line 117, in
read_fn() for read_fn in self._connection_read_fns
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer
Exception ignored in: <function VectorEnv.del at 0x7f873050d950>
Traceback (most recent call last):
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/habitat/habitat_api/habitat/core/vector_env.py", line 487, in del
self.close()
File "/share_dir/add_hdd/iwata/Neural-SLAM/env/habitat/habitat_api/habitat/core/vector_env.py", line 351, in close
write_fn((CLOSE_COMMAND, None))
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 404, in _send_bytes
self._send(header + buf)
File "/opt/conda/envs/v1/lib/python3.7/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe

Datasets are arranged as described in readme.md.

@linaug
Copy link

linaug commented Jun 5, 2024

Hi, I have other questions about install env. And Do you known how to download the data folder, which is mentioned in the Readme. I cann't find the scene_datasets and datasets in the website (https:/(github.com/facebookresearch/habitat-api#data).

@daiki240
Copy link
Author

daiki240 commented Jun 6, 2024

I have not been able to get the code to work correctly yet, so I don't know if it is correct,
https://github.com/facebookresearch/habitat-lab/blob/main/DATASETS.md
I downloaded it from this link.

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