facebookresearch / sound-spaces

A first-of-its-kind acoustic simulation platform for audio-visual embodied AI research. It supports training and evaluating multiple tasks and applications.
https://soundspaces.org
Creative Commons Attribution 4.0 International
322 stars 55 forks source link

Issue with cache observations #134

Open sun17-311 opened 7 months ago

sun17-311 commented 7 months ago

Hello! I am trying to run python scripts/cache_observations.py by following the https://github.com/facebookresearch/sound-spaces/blob/main/INSTALLATION.md,i get this issue: `Traceback (most recent call last):

File "/home/sdl/Desktop/Project/soundspace/sound-spaces/scripts/cache_observations.py", line 18, in from soundspaces.utils import load_metadata File "/home/sdl/Desktop/Project/soundspace/sound-spaces/soundspaces/init.py", line 7, in from soundspaces.tasks.action_space import MoveOnlySpaceConfiguration File "/home/sdl/Desktop/Project/soundspace/sound-spaces/soundspaces/tasks/init.py", line 2, in from soundspaces.simulator import SoundSpacesSim File "/home/sdl/Desktop/Project/soundspace/sound-spaces/soundspaces/simulator.py", line 28, in from habitat.sims.habitat_simulator.habitat_simulator import HabitatSimSensor, overwrite_config

ImportError: cannot import name 'HabitatSimSensor' from 'habitat.sims.habitat_simulator.habitat_simulator' (/home/sdl/Desktop/Project/soundspace/habitat-lab/habitat/sims/habitat_simulator/habitat_simulator.py)` I was sure to install the specified version of habitat-lab and habitat-sim,and i had check out habitat-sim and habitat-lab both at v0.1.7.

I was wondering if anyone has ran into this before or has any ideas how to solve this? Thanks!

swapb94 commented 1 month ago

@sun17-311 Were you able to resolve this?