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

Load Self-built Mesh in Habitat-smi and get the semantic information #2404

Closed
hutslib opened this issue Jun 6, 2024 · 1 comment
Closed
Labels
FAQ Frequently asked questions.

Comments

@hutslib
Copy link

hutslib commented Jun 6, 2024

How to built my self mesh and load them in habitat. I also want to give each assert a semantic label and I want to know how to arrange the data format.

@aclegg3 aclegg3 added the FAQ Frequently asked questions. label Jul 10, 2024
@aclegg3
Copy link
Contributor

aclegg3 commented Jul 10, 2024

Hey @hutslib

This is a pretty broad topic so I'll provide some pointers and you can open a new issue if there are specific blockers you encounter.

First, I suggest you take a look at existing data sources for reference:

  1. habitat_test_scenes: these are individual meshes which are loaded as scenes. The tutorial on navigation basics demonstrates how to load the simulator with your custom scene asset and setup the agent/sensors.
  2. ReplicaCAD: https://aihabitat.org/datasets/replica_cad/ - this is a great reference for generating scenes composed of multiple objects and assigning each object a semantic id. The object_config.json has the semantic_id integer which is mapped to the classes in the semantic lexicon. This is the easiest way to add semantics, but operates on a per-mesh level, so it won't do for scans or multi-part semantic meshes.
  3. HM3D Semantics: https://aihabitat.org/datasets/hm3d-semantics/ - This dataset has scene mesh semantics baked into texture files which can be read by the simulator. This requires painting the annotations in modeling software like Blender. You can quickly download the example scenes with the datasets_download.py utility targetting data group hm3d_example.

Finally, you can check out the documentation on our configuration format here: https://aihabitat.org/docs/habitat-sim/attributesJSON.html for details on how to setup individual configs.

I suggest you start from an existing dataset to understand how the pieces fit together.

@aclegg3 aclegg3 closed this as completed Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently asked questions.
Projects
None yet
Development

No branches or pull requests

2 participants