facebookresearch / home-robot

Mobile manipulation research tools for roboticists
MIT License
851 stars 122 forks source link

Failed to Run Demo Setup #420

Closed xiaotaw closed 10 months ago

xiaotaw commented 10 months ago

🐛 Bug

Failed to Run Demo Setup

Steps to Reproduce

Untracked files: (use "git add ..." to include in what will be committed)

bin/
run.md

nothing added to commit but untracked files present (use "git add" to track) xt@ubt:/mnt/xt/8T/CODES/EmbodiedAI/home-robot$

- run a container using  fairembodied/habitat-challenge:homerobot-ovmm-challenge-2023, with home-robot mapped into the container
-  setup in container, without a real robot
    - install mamba
    - create env, and activate
    ```bash
    mamba env create -n home-robot -f src/home_robot/environment.yml
    mamba activate home-robot
-  install home-robot and third-party
````bash
# Install the core home_robot package
python -m pip install -e src/home_robot

# install detectron2
python -m pip install -e src/third_party/detectron2

# Install Detic
cd $HOME_ROBOT_ROOT/src/home_robot/home_robot/perception/detection/detic/Detic/
mkdir models
wget https://dl.fbaipublicfiles.com/detic/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth -O models/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth --no-check-certificate
cd -

# Download the Robot Model
mkdir -p data/robots/hab_stretch
cd data/robots/hab_stretch

wget http://dl.fbaipublicfiles.com/habitat/robots/hab_stretch_v1.0.zip
unzip hab_stretch_v1.0.zip
cd -

# Download pretrained skills
mkdir -p data/checkpoints
cd data/checkpoints
wget https://dl.fbaipublicfiles.com/habitat/data/baselines/v1/ovmm_baseline_home_robot_challenge_2023_v0.2.zip
unzip ovmm_baseline_home_robot_challenge_2023_v0.2.zip -d ovmm_baseline_home_robot_challenge_2023_v0.2
cd ../../
````

Expected behavior

Run demo in a container.

Additional context

yvsriram commented 10 months ago

Hi,

  1. Can you please try:cd data/objects and git lfs pull. It is likely that the data/objects/clip_embeddings.pickle is not downloaded correctly.
  2. If you are wanting to participate in the challenge due in the next two days, please use the tag home-robot-ovmm-challenge-2023-v0.1.2 using: git clone https://github.com/facebookresearch/home-robot --branch home-robot-ovmm-challenge-2023-v0.1.2 as indicated in the README. From the logs you shared, it seems like you are using the latest main.
xiaotaw commented 10 months ago

thx