白鹭先生 commited on
Commit
fbf8b87
1 Parent(s): b3950d2

修复库依赖

Browse files
Files changed (2) hide show
  1. app.py +0 -1
  2. requirements.txt +2 -2
app.py CHANGED
@@ -6,7 +6,6 @@ LastEditTime: 2022-01-13 13:48:57
6
  FilePath: \LicenseGAN\app.py
7
  '''
8
  import os
9
- os.system('sudo apt install libgl1-mesa-glx')
10
  os.system('pip install requirements.txt')
11
 
12
  from PIL import Image
 
6
  FilePath: \LicenseGAN\app.py
7
  '''
8
  import os
 
9
  os.system('pip install requirements.txt')
10
 
11
  from PIL import Image
requirements.txt CHANGED
@@ -2,8 +2,8 @@ scipy==1.5.0
2
  numpy==1.18.5
3
  matplotlib==3.2.2
4
  opencv-python==4.5.3.56
5
- torch==1.4.0
6
- torchvision==0.5.0
7
  tqdm==4.47.0
8
  Pillow==7.2.0
9
  h5py==2.10.0
 
2
  numpy==1.18.5
3
  matplotlib==3.2.2
4
  opencv-python==4.5.3.56
5
+ torch==1.7.0+cpu
6
+ torchvision==0.8.0
7
  tqdm==4.47.0
8
  Pillow==7.2.0
9
  h5py==2.10.0