-
Notifications
You must be signed in to change notification settings - Fork 420
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
Unable to load the semantic information from HM3D dataset #2253
Comments
I have a similar problem. It is not clear to me how the height of an agent relative to the floor can be determined, particularly in scenes with multiple floors. |
@YYDreamzure levels are not annotated in HM3D, regions are in some cases annotated, but not matched to a semantic class. In the paper we inferred region labels from furniture semantics, but did not propogate these inferences into the dataset since they are estimates rather than ground truth. @janblumenkamp The height of an agent relative to the floor is fixed. This is part of the sensor config.
The agent's position is actually the position of it's feet in contact with the ground via navmesh approximation. There are some techniques to estimate the levels and you can use the bounds of the navmesh to determine the lowest and highest ground Y values in the scene if you need that information. |
Thanks for clarifying!
It's sampling a large number of points in the scene, and then clusters them along the height axis. Sufficiently large clusters are points on the same height. This seems to work reasonably well across all scenes. |
Thanks for sharing, @janblumenkamp. We've done similar things also when needing a floor heuristic. 👍 |
FYI, some notes on annotating regions that are relevant to this discussion: #2364 (comment) Note these examples are intended to help you annotate your own scenes, not to load some existing data. HM3D does not currently provide floor and region annotations. |
Habitat-Sim version
[v0.2.5]
I have been trying to load the HM3D scenes into habitat-sim. The dataset is fully downloaded including the scene .glb, semantic .glb and .txt, and configuration file.
However, the semantics of the scene doesnt seem to function properly:
Referring to scene: oEPjPNSPmzL
def make_cfg(sim_settings):
CODE:
scene = sim.semantic_scene
print(f"House has {len(scene.levels)} levels, {len(scene.regions)} regions and {len(scene.objects)} objects")
print(f"House center:{scene.aabb.center} dims:{scene.aabb.sizes}")
OUTPUT:
The NavMesh bounds are: (array([-11.723581 , -0.18547955, -2.3691924 ], dtype=float32), array([4.749757 , 4.3199515, 4.6835546], dtype=float32))
House has 0 levels, 10 regions and 301 objects
House center:[0. 0. 0.] dims:[-inf -inf -inf]
And when I run simulations, I get this error:
[16:20:15:076408]:[Assets] ResourceManager.cpp(2941)::joinSemanticHierarchy : Could not get the GenericSemanticMeshData
I did put all the files in the same folder. May I know where might have gone wrong?
❓ Questions and Help
The text was updated successfully, but these errors were encountered: