Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -20,6 +20,10 @@ COPY src/ ./src/
|
|
| 20 |
# Install the Python dependencies
|
| 21 |
RUN pip3 install -r requirements.txt
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
# Install detectron2 manually
|
| 24 |
RUN pip3 install 'git+https://github.com/facebookresearch/detectron2.git'
|
| 25 |
|
|
|
|
| 20 |
# Install the Python dependencies
|
| 21 |
RUN pip3 install -r requirements.txt
|
| 22 |
|
| 23 |
+
# Install specific versions of torch and torchvision
|
| 24 |
+
RUN pip3 install torch==2.6.0+cu124 torchvision==0.21.0+cu124
|
| 25 |
+
|
| 26 |
+
|
| 27 |
# Install detectron2 manually
|
| 28 |
RUN pip3 install 'git+https://github.com/facebookresearch/detectron2.git'
|
| 29 |
|