Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -105,6 +105,9 @@ RUN pip install --no-cache-dir segment-anything==1.0 && \
|
|
| 105 |
# Install GroundingDINO via pip
|
| 106 |
RUN pip install --no-cache-dir git+https://github.com/IDEA-Research/GroundingDINO.git
|
| 107 |
|
|
|
|
|
|
|
|
|
|
| 108 |
# Create a custom setup.py for GroundingDINO extension
|
| 109 |
RUN echo "from setuptools import setup\n\
|
| 110 |
from torch.utils.cpp_extension import BuildExtension, CUDAExtension\n\
|
|
|
|
| 105 |
# Install GroundingDINO via pip
|
| 106 |
RUN pip install --no-cache-dir git+https://github.com/IDEA-Research/GroundingDINO.git
|
| 107 |
|
| 108 |
+
# Verify the installed package structure
|
| 109 |
+
RUN find /home/user/.local/lib/python3.10/site-packages/groundingdino -type f
|
| 110 |
+
|
| 111 |
# Create a custom setup.py for GroundingDINO extension
|
| 112 |
RUN echo "from setuptools import setup\n\
|
| 113 |
from torch.utils.cpp_extension import BuildExtension, CUDAExtension\n\
|