Sudipta Nayak commited on
Commit
84a14d0
1 Parent(s): 6772b36
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -2
  3. requirements_gpu.txt +4 -4
Dockerfile CHANGED
@@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
19
  RUN pip install --upgrade pip
20
 
21
  RUN pip install --no-cache-dir -r requirements.txt
22
- RUN pip install --no-cache-dir -r requirements_gpu.txt
23
  RUN pip install --no-cache-dir -r requirements_app.txt
24
 
25
  RUN useradd -m -u 1000 myuser
 
19
  RUN pip install --upgrade pip
20
 
21
  RUN pip install --no-cache-dir -r requirements.txt
22
+ # RUN pip install --no-cache-dir -r requirements_gpu.txt
23
  RUN pip install --no-cache-dir -r requirements_app.txt
24
 
25
  RUN useradd -m -u 1000 myuser
requirements.txt CHANGED
@@ -8,8 +8,8 @@ Pillow>=7.1.2
8
  PyYAML>=5.3.1
9
  requests>=2.23.0
10
  scipy>=1.4.1
11
- # torch>=1.7.0,!=1.12.0
12
- # torchvision>=0.8.1,!=0.13.0
13
  tqdm>=4.41.0
14
  protobuf<4.21.3
15
 
 
8
  PyYAML>=5.3.1
9
  requests>=2.23.0
10
  scipy>=1.4.1
11
+ torch>=1.7.0,!=1.12.0
12
+ torchvision>=0.8.1,!=0.13.0
13
  tqdm>=4.41.0
14
  protobuf<4.21.3
15
 
requirements_gpu.txt CHANGED
@@ -2,8 +2,8 @@
2
  -i https://download.pytorch.org/whl/cu113
3
 
4
  # CUDA 11.3
5
- # torch==1.11.0+cu113
6
- # torchvision==0.12.0+cu113
7
 
8
  # CPU-only version of PyTorch
9
  # torch==1.11.0
@@ -14,5 +14,5 @@
14
  # torch==torch-1.11.0-cp310-cp310-linux_x86_64.whl
15
  # torchvision==torchvision-0.12.0-cp310-cp310-linux_x86_64.whl
16
 
17
- torch==torch-1.11.0+cu113-cp310-cp310-linux_x86_64.whl
18
- torchvision==torchvision-0.12.0+cu113-cp310-cp310-linux_x86_64.whl
 
2
  -i https://download.pytorch.org/whl/cu113
3
 
4
  # CUDA 11.3
5
+ torch==1.11.0+cu113
6
+ torchvision==0.12.0+cu113
7
 
8
  # CPU-only version of PyTorch
9
  # torch==1.11.0
 
14
  # torch==torch-1.11.0-cp310-cp310-linux_x86_64.whl
15
  # torchvision==torchvision-0.12.0-cp310-cp310-linux_x86_64.whl
16
 
17
+ # torch==torch-1.11.0+cu113-cp310-cp310-linux_x86_64.whl
18
+ # torchvision==torchvision-0.12.0+cu113-cp310-cp310-linux_x86_64.whl