Spaces:
Runtime error
Runtime error
req
Browse files- Dockerfile +2 -1
- requirements.txt +0 -4
Dockerfile
CHANGED
@@ -29,7 +29,8 @@ RUN chown -R user:user $WORKDIR
|
|
29 |
RUN chmod -R 777 $WORKDIR
|
30 |
|
31 |
COPY requirements.txt $WORKDIR/requirements.txt
|
32 |
-
RUN
|
|
|
33 |
RUN pip install ninja
|
34 |
|
35 |
COPY . .
|
|
|
29 |
RUN chmod -R 777 $WORKDIR
|
30 |
|
31 |
COPY requirements.txt $WORKDIR/requirements.txt
|
32 |
+
RUN pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
|
33 |
+
RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
34 |
RUN pip install ninja
|
35 |
|
36 |
COPY . .
|
requirements.txt
CHANGED
@@ -33,10 +33,6 @@ safetensors==0.2.7
|
|
33 |
timm==0.6.12
|
34 |
transformers==4.25.1
|
35 |
yapf==0.32.0
|
36 |
-
--extra-index-url https://download.pytorch.org/whl
|
37 |
-
torch==1.11.0+cu113
|
38 |
-
torchvision==0.12.0+cu113
|
39 |
-
torchaudio==0.11.0+cu113
|
40 |
numpy==1.23
|
41 |
git+https://github.com/facebookresearch/detectron2.git
|
42 |
opencv-python
|
|
|
33 |
timm==0.6.12
|
34 |
transformers==4.25.1
|
35 |
yapf==0.32.0
|
|
|
|
|
|
|
|
|
36 |
numpy==1.23
|
37 |
git+https://github.com/facebookresearch/detectron2.git
|
38 |
opencv-python
|