Spaces:
Runtime error
Runtime error
HeliosZhao
commited on
Commit
•
2a9ba02
1
Parent(s):
afe31ff
update dockerfile
Browse files- Dockerfile +9 -3
- requirements.txt +13 -1
Dockerfile
CHANGED
@@ -46,9 +46,15 @@ RUN pip install --no-cache-dir -U torch==2.0.0+cu117 torchvision==0.15.1+cu117 t
|
|
46 |
RUN pip install --no-cache-dir -U xformers==0.0.17
|
47 |
COPY --chown=1000 requirements.txt /tmp/requirements.txt
|
48 |
RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
|
49 |
-
|
50 |
-
|
51 |
-
RUN pip install
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
# RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/segment_anything
|
53 |
# RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/GroundingDINO
|
54 |
|
|
|
46 |
RUN pip install --no-cache-dir -U xformers==0.0.17
|
47 |
COPY --chown=1000 requirements.txt /tmp/requirements.txt
|
48 |
RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
|
49 |
+
|
50 |
+
WORKDIR Make-A-Protagonist/experts/GroundedSAM
|
51 |
+
RUN pip install -e segment_anything
|
52 |
+
RUN pip install -e GroundingDINO
|
53 |
+
WORKDIR ${HOME}/app
|
54 |
+
|
55 |
+
# COPY --chown=1000 checkpoints/*.whl /tmp/
|
56 |
+
# RUN pip install --no-cache-dir -U /tmp/groundingdino-0.1.0-cp310-cp310-linux_x86_64.whl
|
57 |
+
# RUN pip install --no-cache-dir -U /tmp/segment_anything-1.0-py3-none-any.whl
|
58 |
# RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/segment_anything
|
59 |
# RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/GroundingDINO
|
60 |
|
requirements.txt
CHANGED
@@ -18,4 +18,16 @@ transformers==4.27.4
|
|
18 |
# triton
|
19 |
# xformers==0.0.17
|
20 |
ipdb
|
21 |
-
opencv-python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
# triton
|
19 |
# xformers==0.0.17
|
20 |
ipdb
|
21 |
+
opencv-python
|
22 |
+
addict
|
23 |
+
yapf
|
24 |
+
onnxruntime
|
25 |
+
pycocotools
|
26 |
+
PyYAML
|
27 |
+
requests
|
28 |
+
setuptools
|
29 |
+
supervision
|
30 |
+
termcolor
|
31 |
+
timm
|
32 |
+
nltk
|
33 |
+
fairscale
|