Closed sreeharshaparuchur1 closed 1 year ago
@sreeharshaparuchur1 the APIs have been updated and I've updated a step-by-step installation guide, and you could also find examples for setting APIs in this file.
@ChanganVR Thank you very much for taking the time out to update the APIs, that should fix this issue.
On going through the changes that you've made and the step-by-step installation guide, I have a doubt about what the line audio_sensor_spec.enableMaterials = False
does to:
@sreeharshaparuchur1 you are right, setting the parameter to not use materials leads to suboptimal performance. But for some environments, if the semantic annotations are faulty, using materials simply does not render and leads to crashing every time. If the semantic annotation issue can't be fixed, you could consider disabling using materials.
Hi,
My use case for this project is with respect to the Soundspaces 2.0 simulator. As a result, I have followed the setup instructions present in the soundspaces readme.
I am able to run the example notebook and script given in the example section of the soundspaces repo successfully. However, in multiple places such as in habitat-labs test audio_agent script and (soundspaces' continuous simulator)[https://github.com/facebookresearch/sound-spaces/blob/main/soundspaces/continuous_simulator.py#L124], the below API call is made to create a channel layout object.
On calling the above method, we have to add a sensor object to the channelType attribute, but, this fails for me with my current setup and I get the aforementioned error. In order to provide an error log, I have run
python scripts/interactive_demo.py CONTINUOUS True
in my soundspaces 2.0 installation and get the following traceback:Current workaround:
I am able to workaround this problem by directly adding the channel configuration to the audio as done in this example.
Since there is a workaround, this isn't a time critical error but it would help me and the community if you could either update the codes to use the workaround or fix the API.
Thank you