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

evaluate on the HM3D dataset failed in half #61

Open
chen128 opened this issue Jan 11, 2025 · 0 comments
Open

evaluate on the HM3D dataset failed in half #61

chen128 opened this issue Jan 11, 2025 · 0 comments

Comments

@chen128
Copy link

chen128 commented Jan 11, 2025

here is the error when i run the commond python -m vlfm.run
The video was create but not finish.

camera_yaw:
1.0471975803375244
BLIP2ITMClient.cosine: (480, 640, 3), Seems like there is a chair ahead.
Step: 2 | Mode: initialize | Action: 2
Error executing job with overrides: ['habitat_baselines.video_dir=result_v2', 'habitat_baselines.eval.video_option=["disk"]']
Traceback (most recent call last):
  File "/media/marmot/3902f264-9894-469c-8ef4-54446396bf43/test/vlfm/vlfm/run.py", line 55, in main
    execute_exp(cfg, "eval" if cfg.habitat_baselines.evaluate else "train")
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_baselines/run.py", line 62, in execute_exp
    trainer.eval()
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat_baselines/common/base_trainer.py", line 132, in eval
    self._eval_checkpoint(
  File "/media/marmot/3902f264-9894-469c-8ef4-54446396bf43/test/vlfm/vlfm/utils/vlfm_trainer.py", line 270, in _eval_checkpoint
    hab_vis.collect_data(batch, infos, action_data.policy_info)
  File "/media/marmot/3902f264-9894-469c-8ef4-54446396bf43/test/vlfm/vlfm/utils/habitat_visualizer.py", line 69, in collect_data
    color_point_cloud_on_map(infos, policy_info)
  File "/media/marmot/3902f264-9894-469c-8ef4-54446396bf43/test/vlfm/vlfm/utils/habitat_visualizer.py", line 251, in color_point_cloud_on_map
    new_map[grid_xy[:, 0], grid_xy[:, 1]] = MAP_TARGET_POINT_INDICATOR
IndexError: index 392 is out of bounds for axis 1 with size 381

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Exception ignored in: <function VectorEnv.__del__ at 0x7f4aaf29ca60>
Traceback (most recent call last):
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/core/vector_env.py", line 589, in __del__
    self.close()
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/core/vector_env.py", line 460, in close
    write_fn((CLOSE_COMMAND, None))
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/core/vector_env.py", line 129, in __call__
    self.write_fn(data)
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/utils/pickle5_multiprocessing.py", line 63, in send
    self.send_bytes(buf.getvalue())
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/multiprocessing/connection.py", line 200, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/multiprocessing/connection.py", line 411, in _send_bytes
    self._send(header + buf)
  File "/home/marmot/anaconda3/envs/vlfm/lib/python3.9/multiprocessing/connection.py", line 368, in _send
    n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
  5%|████▎       
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

1 participant