Spaces:
Running
Running
SAM_CHECKPOINT debugging
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -38,10 +38,8 @@ RUN pip install 'git+https://github.com/facebookresearch/segment-anything.git'
|
|
| 38 |
RUN pip install 'git+https://github.com/facebookresearch/detectron2.git'
|
| 39 |
|
| 40 |
# Download weights
|
| 41 |
-
RUN mkdir -p $HOME/app/
|
| 42 |
-
RUN wget -c -O $HOME/app/
|
| 43 |
-
|
| 44 |
-
RUN ls -la $HOME/app/weigths
|
| 45 |
|
| 46 |
COPY app.py .
|
| 47 |
|
|
|
|
| 38 |
RUN pip install 'git+https://github.com/facebookresearch/detectron2.git'
|
| 39 |
|
| 40 |
# Download weights
|
| 41 |
+
RUN mkdir -p $HOME/app/weights
|
| 42 |
+
RUN wget -c -O $HOME/app/weights/sam_vit_h_4b8939.pth https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
|
|
|
|
|
|
|
| 43 |
|
| 44 |
COPY app.py .
|
| 45 |
|