cuda
Browse files- Dockerfile +2 -0
- requirements.txt +1 -4
Dockerfile
CHANGED
@@ -6,6 +6,8 @@ COPY ./requirements.txt /code/requirements.txt
|
|
6 |
#RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.ht
|
7 |
#RUN pip install torch==1.9.1 torchvision==0.10.1 -f https://download.pytorch.org/whl/torch_stable.ht -extra-index-url https://download.pytorch.org/whl/cu111
|
8 |
#https://download.pytorch.org/whl/torch_stable.ht
|
|
|
|
|
9 |
RUN pip install --no-cache-dir --upgrade -U openmim
|
10 |
RUN mim install --no-cache-dir --upgrade mmengine
|
11 |
RUN mim install "mmcv>=2.0.1"
|
|
|
6 |
#RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.ht
|
7 |
#RUN pip install torch==1.9.1 torchvision==0.10.1 -f https://download.pytorch.org/whl/torch_stable.ht -extra-index-url https://download.pytorch.org/whl/cu111
|
8 |
#https://download.pytorch.org/whl/torch_stable.ht
|
9 |
+
|
10 |
+
RUN pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu113
|
11 |
RUN pip install --no-cache-dir --upgrade -U openmim
|
12 |
RUN mim install --no-cache-dir --upgrade mmengine
|
13 |
RUN mim install "mmcv>=2.0.1"
|
requirements.txt
CHANGED
@@ -3,7 +3,4 @@ numpy
|
|
3 |
opencv-python
|
4 |
ultralytics
|
5 |
lap
|
6 |
-
MoviePy
|
7 |
-
--extra-index-url https://download.pytorch.org/whl/cu113
|
8 |
-
torch
|
9 |
-
torchvision
|
|
|
3 |
opencv-python
|
4 |
ultralytics
|
5 |
lap
|
6 |
+
MoviePy
|
|
|
|
|
|