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 Glob path result found for *.json so unable to load templates from that path. #2454

Open
anilkusc opened this issue Aug 20, 2024 · 1 comment

Comments

@anilkusc
Copy link

anilkusc commented Aug 20, 2024

Habitat-Sim version: v0.3.1

I've installed habitat-sim and habitat lab. I can run examples without issue.
I want to use hm3d dataset but I am have error when I try.
I am following the tutorial
I can download the dataset successfully:
python -m habitat_sim.utils.datasets_download --username <api-token-id> --password <api-token-secret> --uids hm3d_minival_v0.2
I am creating a test python file in examples folder to see scenes:

#examples/test.py
import habitat_sim
backend_cfg = habitat_sim.SimulatorConfiguration()
backend_cfg.scene_id = "/habitat-sim/data/scene_datasets/hm3d/minival/00800-TEEsavR23oF/TEEsavR23oF.basis.glb"
backend_cfg.scene_dataset_config_file = "/habitat-sim/data/scene_datasets/hm3d/hm3d_annotated_basis.scene_dataset_config.json"
sem_cfg = habitat_sim.CameraSensorSpec()
sem_cfg.uuid = "semantic"
sem_cfg.sensor_type = habitat_sim.SensorType.SEMANTIC
agent_cfg = habitat_sim.agent.AgentConfiguration()
agent_cfg.sensor_specifications = [sem_cfg]
sim_cfg = habitat_sim.Configuration(backend_cfg, [agent_cfg])
sim = habitat_sim.Simulator(sim_cfg)

When I try to run I got following error:

.
.
[13:07:07:929709]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : : No Glob path result found for /habitat-sim/data/scene_datasets/hm3d/val/00891-cvZr5TUy5C5/*.basis.scene_instance.json so unable to load templates from that path.
[13:07:07:929722]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : : No Glob path result found for /habitat-sim/data/scene_datasets/hm3d/val/00894-HY1NcmCgn3n/*.basis.scene_instance.json so unable to load templates from that path.
[13:07:10:986678]:[Warning]:[Metadata] SceneDatasetAttributes.cpp(107)::addNewSceneInstanceToDataset : Dataset : 'hm3d_annotated_basis' : Lighting Layout Attributes 'no_lights' specified in Scene Attributes but does not exist in dataset, so creating default.

When I check dataset folder I can not find any *basis.scene_instance.json file.
In the tutorial it says:

Most importantly, ensure that the hm3d_annotated_*, *.semantic.glb, and *.semantic.txt files are present.

When I check all mentioned files represent.

So do you have a further documentation or tutorial to use hm3d with habitat on hand ?

@albertcity
Copy link

Habitat-Sim version: v0.3.1

I've installed habitat-sim and habitat lab. I can run examples without issue. I want to use hm3d dataset but I am have error when I try. I am following the tutorial I can download the dataset successfully: python -m habitat_sim.utils.datasets_download --username <api-token-id> --password <api-token-secret> --uids hm3d_minival_v0.2 I am creating a test python file in examples folder to see scenes:

#examples/test.py
import habitat_sim
backend_cfg = habitat_sim.SimulatorConfiguration()
backend_cfg.scene_id = "/habitat-sim/data/scene_datasets/hm3d/minival/00800-TEEsavR23oF/TEEsavR23oF.basis.glb"
backend_cfg.scene_dataset_config_file = "/habitat-sim/data/scene_datasets/hm3d/hm3d_annotated_basis.scene_dataset_config.json"
sem_cfg = habitat_sim.CameraSensorSpec()
sem_cfg.uuid = "semantic"
sem_cfg.sensor_type = habitat_sim.SensorType.SEMANTIC
agent_cfg = habitat_sim.agent.AgentConfiguration()
agent_cfg.sensor_specifications = [sem_cfg]
sim_cfg = habitat_sim.Configuration(backend_cfg, [agent_cfg])
sim = habitat_sim.Simulator(sim_cfg)

When I try to run I got following error:

.
.
[13:07:07:929709]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : : No Glob path result found for /habitat-sim/data/scene_datasets/hm3d/val/00891-cvZr5TUy5C5/*.basis.scene_instance.json so unable to load templates from that path.
[13:07:07:929722]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : : No Glob path result found for /habitat-sim/data/scene_datasets/hm3d/val/00894-HY1NcmCgn3n/*.basis.scene_instance.json so unable to load templates from that path.
[13:07:10:986678]:[Warning]:[Metadata] SceneDatasetAttributes.cpp(107)::addNewSceneInstanceToDataset : Dataset : 'hm3d_annotated_basis' : Lighting Layout Attributes 'no_lights' specified in Scene Attributes but does not exist in dataset, so creating default.

When I check dataset folder I can not find any *basis.scene_instance.json file. In the tutorial it says:

Most importantly, ensure that the hm3d_annotated_*, *.semantic.glb, and *.semantic.txt files are present.

When I check all mentioned files represent.

So do you have a further documentation or tutorial to use hm3d with habitat on hand ?

I have met the same problem, any solutions?

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

2 participants