bdaiinstitute / vlfm

The repository provides code associated with the paper VLFM: Vision-Language Frontier Maps for Zero-Shot Semantic Navigation (ICRA 2024)
http://naoki.io/portfolio/vlfm.html
MIT License
194 stars 14 forks source link

Problems about running "python -m vlfm.run" #35

Closed Benson722 closed 1 month ago

Benson722 commented 2 months ago

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

imfks commented 2 months ago

Maybe u can try cloning the habitat in --branch v0.2.4 ? Not the stable one.

PEACHTTT commented 2 months ago

Just run pip install -e .[habitat], make sure the version(habitat-sim,habitat-lab) is correct, you can check the file pyproject.toml.Please let me know if the problem is correct, I have some questions that I would like to discuss with you. Thanks!

PEACHTTT commented 2 months ago

Maybe u can try cloning the habitat in --branch v0.2.4 ? Not the stable one.

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/val

I'm sure the datasets is in /home /name/vlfm/data/datasets/objectnav/hm3d/v1/val`

Benson722 commented 1 month ago

Maybe u can try cloning the habitat in --branch v0.2.4 ? Not the stable one.

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/val

I'm sure the datasets is in /home /name/vlfm/data/datasets/objectnav/hm3d/v1/val`

Sorry for replying late. I have not met this problem. It seems like a problem about the dataset locations. Perhaps you can try download the dataset by the recommended ways again. Hope it works. :)

Benson722 commented 1 month ago

The problem has been solved by being installed again. Perhaps some errors occur in the environment