Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -64,6 +64,14 @@ RUN pip install --no-cache-dir gdown
|
|
64 |
# Download pre-trained CSD weights
|
65 |
RUN gdown https://drive.google.com/uc?id=1FX0xs8p-C7Ob-h5Y4cUhTeOepHzXv_46 -O third_party/CSD/checkpoint.pth
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
# Upgrade pip and install Gradio
|
68 |
RUN python3 -m pip install --no-cache-dir gradio
|
69 |
|
|
|
64 |
# Download pre-trained CSD weights
|
65 |
RUN gdown https://drive.google.com/uc?id=1FX0xs8p-C7Ob-h5Y4cUhTeOepHzXv_46 -O third_party/CSD/checkpoint.pth
|
66 |
|
67 |
+
# Install LangSAM and its dependencies
|
68 |
+
RUN pip install --no-cache-dir git+https://github.com/IDEA-Research/GroundingDINO.git && \
|
69 |
+
pip install --no-cache-dir segment-anything==1.0 && \
|
70 |
+
git clone https://github.com/luca-medeiros/lang-segment-anything && \
|
71 |
+
cd lang-segment-anything && \
|
72 |
+
pip install -e . && \
|
73 |
+
cd ..
|
74 |
+
|
75 |
# Upgrade pip and install Gradio
|
76 |
RUN python3 -m pip install --no-cache-dir gradio
|
77 |
|