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

How to load Replica dataset using Habitat-Sim? #97

Open
jn-tang opened this issue Jun 30, 2023 · 1 comment
Open

How to load Replica dataset using Habitat-Sim? #97

jn-tang opened this issue Jun 30, 2023 · 1 comment

Comments

@jn-tang
Copy link

jn-tang commented Jun 30, 2023

I followed the instruction in Habitat-Sim and installed Habitat-Sim, but the examples given by Habitat-Sim is not very instructive and I didn't get how to load a scene from Replica.

I tried

scene = '~/replica/apartment_0/mesh.ply'
scene_dataset = '~/replica/apartment_0/habitat/replica_stage.stage_config.json'

sim_settings = {
    'width': 1080,
    'height': 960,
    'scene': scene,
    'scene_dataset': scene_dataset,
    'default_agent': 0,
    'sensor_height': 1.5,
    'color_sensor': True,
    'depth_sensor': True,
    'enable_physics': False,
}

but the program aborted.

@jn-tang
Copy link
Author

jn-tang commented Jul 1, 2023

Update: I now tried

'scene_dataset': /path/to/replica/replica.scene_dataset_config.json
'scene': 'room_0'

The program aborted with error message

GL::AbstractShaderProgram::link(): linking failed with the following message:
Geometry info
-------------
(0) : error C6022: No input primitive type
(0) : error C6029: No output primitive type
Assertion link() failed at /home/tjn/habitat-sim/src/esp/gfx/PTexMeshShader.cpp:65
[2]    2847469 abort (core dumped)  python test.py

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