CoolFace
Apppublic

cadene/visualize_dataset_eval

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
Dockerfile32 linesDownload Raw Back to root
1# Configure image2ARG PYTHON_VERSION=3.103 4FROM python:${PYTHON_VERSION}-slim5ARG PYTHON_VERSION6ARG DEBIAN_FRONTEND=noninteractive7 8# Install apt dependencies9RUN apt-get update && apt-get install -y --no-install-recommends \10    build-essential cmake git wget \11    libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \12    && apt-get clean && rm -rf /var/lib/apt/lists/*13 14# Create virtual environment15RUN ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python16RUN python -m venv /opt/venv17ENV PATH="/opt/venv/bin:$PATH"18RUN echo "source /opt/venv/bin/activate" >> /root/.bashrc19 20RUN useradd -m -u 1000 user21 22# Install LeRobot23RUN git clone --branch main https://github.com/huggingface/lerobot.git /lerobot24WORKDIR /lerobot25RUN pip install --upgrade --no-cache-dir pip26RUN pip install --no-cache-dir "." \27    --extra-index-url https://download.pytorch.org/whl/cpu28RUN pip install --no-cache-dir flask29 30COPY --chown=user . /lerobot31CMD ["python", "lerobot/scripts/visualize_dataset_html.py", "--repo-id", "aliberts/eval_koch_tutorial_mps_2", "--host", "0.0.0.0", "--port", "7860", "--output-dir", "/tmp/outputs/visualize_dataset_html/aliberts/eval_koch_tutorial_mps_2"]32