Skip to content

Commit 168d6d2

Browse files
committed
update docker compose
1 parent efdbf02 commit 168d6d2

File tree

1 file changed

+3
-3
lines changed
  • label_studio_ml/examples/segment_anything_2_image

1 file changed

+3
-3
lines changed

label_studio_ml/examples/segment_anything_2_image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENV PYTHONUNBUFFERED=1 \
2121
PORT=9090 \
2222
WORKERS=2 \
2323
THREADS=4 \
24-
CUDA_HOME=/usr/local/cuda \
24+
CUDA_HOME=/usr/local/cuda
2525

2626
# this image is already built with cuda 12.1.1, so we don't need to install it again
2727
# RUN conda install -c "nvidia/label/cuda-12.1.1" cuda -y
@@ -39,8 +39,8 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
3939
pip3 install -r requirements.txt
4040

4141
# install segment-anything-2
42-
RUN cd ~ && git clone --depth 1 --branch main --single-branch https://github.com/facebookresearch/segment-anything-2.git
43-
WORKDIR /segment-anything-2
42+
RUN cd / && git clone --depth 1 --branch main --single-branch https://github.com/facebookresearch/sam2.git
43+
WORKDIR /sam2
4444
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
4545
pip3 install -e .
4646
RUN cd checkpoints && ./download_ckpts.sh

0 commit comments

Comments
 (0)