This guide provides step-by-step instructions for installing the LeHome Challenge environment using Docker.
# Install Docker using the convenience script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Post-install steps to run Docker without sudo
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
# Verify the installation
docker run hello-worldwget https://huggingface.co/datasets/lehome/docker/resolve/main/lehome-challenge.tar.gzNote: Make sure you have sufficient disk space before downloading.
docker load -i lehome-challenge.tar.gz# Start the container (adjust flags as needed)
docker run -it lehome-challenge
# Inside the container, activate the environment and verify
cd /opt/lehome-challenge
source .venv/bin/activatepython -m scripts.eval \
--policy_type lerobot \
--policy_path outputs/train/act_top_long/checkpoints/last/pretrained_model \
--garment_type "top_long" \
--dataset_root Datasets/example/top_long_merged \
--num_episodes 2 \
--enable_cameras \
--device cpu \
--headlessNote: Make sure you enable headless mode.
Now that you have installed the environment, you can: