Skip to content

I don't know if it's a problem with the dataset path or if I set it incorrectly #23

@Lazy-boy193

Description

@Lazy-boy193

(Ins_Nav) liuyang@gpu03:~/InstructNav$ python objnav_benchmark.py --eval_episodes 1
Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
/share/home/HCI/liuyang/InstructNav/thirdparty/GLEE/glee/models/pixel_decoder/maskdino_encoder.py:383: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@autocast(enabled=False)
/share/home/HCI/liuyang/InstructNav/thirdparty/GLEE/glee/models/transformer_decoder/dino_decoder.py:249: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@autocast(enabled=False)
/share/home/HCI/liuyang/anaconda3/envs/Ins_Nav/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:19: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
return torch.cuda.amp.custom_fwd(orig_func) # type: ignore
/share/home/HCI/liuyang/anaconda3/envs/Ins_Nav/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:30: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead.
return torch.cuda.amp.custom_bwd(orig_func) # type: ignore
2025-11-21 22:33:15,090 Initializing dataset ObjectNav-v1
2025-11-21 22:33:18,497 initializing sim Sim-v0
[22:33:18:632205]:[Error]:[Metadata] StageAttributesManager.cpp(89)::registerObjectFinalize : Render asset template handle /share/home/HCI/liuyang/Dataset/HM3D/data/versioned_data/hm3d-0.2/hm3d/hm3d_v0.2/val/00861-GLAQ4DNUx5U/GLAQ4DNUx5U.basis.glb specified in stage template with handle :/share/home/HCI/liuyang/Dataset/HM3D/data/versioned_data/hm3d-0.2/hm3d/hm3d_v0.2/val/00861-GLAQ4DNUx5U/GLAQ4DNUx5U.basis.glbdoes not correspond to any existing file or primitive render asset, so StageAttributes registration is aborted.
Traceback (most recent call last):
File "/share/home/HCI/liuyang/InstructNav/objnav_benchmark.py", line 31, in
habitat_env = habitat.Env(habitat_config)
File "/share/home/HCI/liuyang/habitat-lab-v0.3.1/habitat-lab/habitat/core/env.py", line 114, in init
self._sim = make_sim(
File "/share/home/HCI/liuyang/habitat-lab-v0.3.1/habitat-lab/habitat/sims/registration.py", line 19, in make_sim
return _sim(**kwargs)
File "/share/home/HCI/liuyang/habitat-lab-v0.3.1/habitat-lab/habitat/sims/habitat_simulator/habitat_simulator.py", line 294, in init
super().init(self.sim_config)
File "", line 40, in init
self.attrs_post_init()
File "/share/home/HCI/liuyang/anaconda3/envs/Ins_Nav/lib/python3.9/site-packages/habitat_sim-0.3.1-py3.9-linux-x86_64.egg/habitat_sim/simulator.py", line 118, in attrs_post_init
self.__set_from_config(self.config)
File "/share/home/HCI/liuyang/anaconda3/envs/Ins_Nav/lib/python3.9/site-packages/habitat_sim-0.3.1-py3.9-linux-x86_64.egg/habitat_sim/simulator.py", line 227, in __set_from_config
self._config_backend(config)
File "/share/home/HCI/liuyang/anaconda3/envs/Ins_Nav/lib/python3.9/site-packages/habitat_sim-0.3.1-py3.9-linux-x86_64.egg/habitat_sim/simulator.py", line 200, in _config_backend
super().init(config.sim_cfg, config.metadata_mediator)
AssertionError: ESP_CHECK failed: No Stage Attributes exists for requested scene '/share/home/HCI/liuyang/Dataset/HM3D/data/versioned_data/hm3d-0.2/hm3d/hm3d_v0.2/val/00861-GLAQ4DNUx5U/GLAQ4DNUx5U.basis.glb' in currently specified Scene Dataset ./data/scene_datasets/hm3d_v0.2/hm3d_annotated_basis.scene_dataset_config.json. Likely cause is either the Scene Dataset Configuration requested was not found, or the paths to the various dataset component configuration files (i.e. stage, object, scene instance, etc.) specified in the Scene Dataset Configuration file cannot be found. Verify the paths and filenames for the desired Scene Dataset Configuration file and the paths specified within the file.

(base) [liuyang@mu01 ~]$ cd /share/home/HCI/liuyang/Dataset/HM3D/data/versioned_data/hm3d-0.2/hm3d/
(base) [liuyang@mu01 hm3d]$ tree -L 2

Image

(base) [liuyang@mu01 ~]$ cd /share/home/HCI/liuyang/Dataset/HM3D/data/versioned_data/hm3d-0.2/hm3d/
(base) [liuyang@mu01 hm3d]$ tree -L 2

.
├── hm3d_annotated_basis.scene_dataset_config.json
├── minival
│   ├── 00800-TEEsavR23oF
│   ├── 00801-HaxA7YrQdEC
│   ├── 00802-wcojb4TFT35
│   ├── 00803-k1cupFYWXJ6
│   ├── 00804-BHXhpBwSMLh
│   ├── 00805-SUHsP6z2gcJ
│   ├── 00806-tQ5s4ShP627
│   ├── 00807-rsggHU7g7dh
│   ├── 00808-y9hTuugGdiq
│   ├── 00809-Qpor2mEya8F
│   └── hm3d_annotated_minival_basis.scene_dataset_config.json
├── train
│   ├── 00000-kfPV7w3FaU5
│   ├── 00001-UVdNNRcVyV1
│   ├── 00002-FxCkHAfgh7A
...
└── val
├── 00800-TEEsavR23oF
├── 00801-HaxA7YrQdEC
├── 00802-wcojb4TFT35
├── 00803-k1cupFYWXJ6
├── 00804-BHXhpBwSMLh
├── 00805-SUHsP6z2gcJ

(base) [liuyang@mu01 ~]$ cd /share/home/HCI/liuyang/InstructNav/data/objectnav_hm3d_v2/
(base) [liuyang@mu01 objectnav_hm3d_v2]$ tree -L 2
.
├── hm3d_annotated_basis.scene_dataset_config.json
├── train
│   ├── content
│   └── train.json.gz
├── val
│   ├── content
│   └── val.json.gz
└── val_mini
├── content
└── val_mini.json.gz

6 directories, 4 files

Help me, how should I modify it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions