vlfm: Problems about running "python -m vlfm.run"
Thank you for your work! It helps me a lot. 😃
When I try to run the code, some errors occur:
(vlfm) zhangyiqing@inin:~/vlfm$ python -m vlfm.run
Could not import yolov7. This is OK if you are only using the client.
In 'habitat_baselines/rl/policy/vlfm_policy': ValidationError raised while composing config:
Invalid type assigned: str is not a subclass of PolicyConfig. value: HabitatITMPolicy
full_key: habitat_baselines.rl.policy.name
reference_type=Dict[str, PolicyConfig]
object_type=dict
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
ps: “./scripts/launch_vlm_servers.sh” is running successfully
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17
Hi,I wonder if you met the problem that
File “/home/tcy/anaconda3/envs/vlfm/lib/python3.9/site-packages/habitat/datasets/pointnav/pointnav_dataset.py”, line 51, in get_scenes_to_load raise FileNotFoundError( FileNotFoundError: Could not find dataset file
data/datasets/objectnav/hm3d/v1/valI’m sure the datasets is in /home /name/vlfm/data/datasets/objectnav/hm3d/v1/val`
I have met the same problem and here is how I solved it. The error is raised in line 51 in “habitat/datasets/pointnav/pointnav_dataset.py”, which is triggered when cls.check_config_paths_exist(config) returns true. And cls.check_config_paths_exist(config) actually checks both the dir “/name/vlfm/data/datasets/objectnav/hm3d/v1/val” and another dir “/name/vlfm/data/scene_datasets” where the glb and navmesh files of mp3d are stored. So you need to check if the BOTH dir is existed.
wonderful,but i have another problem,https://github.com/bdaiinstitute/vlfm/issues/81.Can you help me?