Skip to content

Commit 4a01ffe

Browse files
author
Your Name
committed
make droid calibration working
1 parent fee1d80 commit 4a01ffe

6 files changed

Lines changed: 740 additions & 415 deletions

File tree

examples/droid/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ trajectory_captioning_results/
77
droid_combined_data/
88
huggingface_cache/
99
droid_100/
10+
calibration_benchmark_results/
11+
droid_downloaded_data/

examples/droid/Dockerfile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# docker build --network=host -t droid-downloader .
2-
# docker run --network=host -v $(pwd)/droid_data:/root/droid-example/droid_downloaded_data droid-downloader bash -c "python3 droid_downloader.py"
2+
# docker run -ti --gpus=all --shm-size=10g --network=host -v $(pwd):/root/droid-example droid-downloader bash
33
FROM stereolabs/zed:4.2-runtime-cuda11.8-ubuntu22.04
44

55
# RUN apt-get update -y && apt-get install -y \
@@ -8,6 +8,11 @@ FROM stereolabs/zed:4.2-runtime-cuda11.8-ubuntu22.04
88
# python3-opencv \
99
# git
1010

11+
# Install Google Cloud SDK
12+
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash
13+
RUN chmod +x install_google_cloud_sdk.bash
14+
RUN ./install_google_cloud_sdk.bash --disable-prompts
15+
1116
# Install Python dependencies
1217
RUN pip install \
1318
argparse \
@@ -23,10 +28,6 @@ RUN pip install \
2328
requests \
2429
opencv-python
2530

26-
# Install Google Cloud SDK
27-
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash
28-
RUN chmod +x install_google_cloud_sdk.bash
29-
RUN ./install_google_cloud_sdk.bash --disable-prompts
3031

3132
# Add gsutil to PATH
3233
ENV PATH="/root/google-cloud-sdk/bin:$PATH"
@@ -35,9 +36,4 @@ ENV PATH="/root/google-cloud-sdk/bin:$PATH"
3536
WORKDIR /root/droid-example
3637

3738
# Copy the scripts
38-
COPY . .
39-
40-
# Install robodm (assuming it's in the parent directory during build)
41-
# You'll need to mount or copy the robodm package
42-
# COPY ../../robodm /root/robodm_pkg
43-
# RUN cd /root/robodm_pkg && pip install -e .
39+
# COPY . .

0 commit comments

Comments
 (0)