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

No attribuate in running audio examples #2340

Open
circleTreeF opened this issue Mar 19, 2024 · 0 comments
Open

No attribuate in running audio examples #2340

circleTreeF opened this issue Mar 19, 2024 · 0 comments

Comments

@circleTreeF
Copy link

Habitat-Sim version

v0.3.0 main

Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? The bug you are about to report may already be fixed in the latest version.

Main branch contains 'bleeding edge' code, but we do appreciate bug reports for it!

🐛 Bug

Some APIs and attributes cannot be found and lead to no attribute error. The execution produces the following error:

Traceback (most recent call last):
  File "/weka/scratch/tshu2/yfang52/habitat-sim/examples/tutorials/audio_agent.py", line 99, in <module>
    main()
  File "/weka/scratch/tshu2/yfang52/habitat-sim/examples/tutorials/audio_agent.py", line 38, in main
    acoustics_config.enableMaterials = True
AttributeError: 'habitat_sim._ext.habitat_sim_bindings.RLRAudioPropagationConfiguration' object has no attribute 'enableMaterials'

Even removing this line of code, the additional error will be produced,

Traceback (most recent call last):
  File "/weka/scratch/tshu2/yfang52/habitat-sim/examples/tutorials/audio_agent.py", line 99, in <module>
    main()
  File "/weka/scratch/tshu2/yfang52/habitat-sim/examples/tutorials/audio_agent.py", line 43, in main
    habitat_sim.sensor.RLRAudioPropagationChannelLayoutType.Binaural
AttributeError: 'NoneType' object has no attribute 'Binaural'

Steps to Reproduce

Steps to reproduce the behavior:

Under the command line on headless machines

  1. Assuming under the project root directory, run audio simulation in python: python examples/tutorials/audio_agent.py

Please note that without a minimal working example to reproduce the bug, we may not be able to help you.

Expected behavior

Additional context

System Info

Please copy and paste the output from the
environment collection script
(or fill out the checklist below manually).

You can run the script with:

# For security purposes, please check the contents of collect_env.py before running it.
python src_python/habitat_sim/utils/collect_env.py
  • OS (e.g., Linux): Linux
  • How you installed PyTorch (conda, pip, source): conda
  • Build command you used (if compiling from source):
  • Python version: 3.9
  • GPU models and configuration: A100
  • CUDA version: 12.3
  • PIP/conda dependencies packages versions: pip 23.3.1; conda 24.1.2
  • Any other relevant information:
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