tomofi commited on
Commit
5ee7d5a
1 Parent(s): fbc5fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
 
4
  print(torch.__version__)
5
  torch_ver, cuda_ver = torch.__version__.split('+')
6
- os.system(f'pip install mmdet mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuda_ver}/torch{torch_ver}/index.html --no-cache-dir')
7
  os.system('wget -c https://download.openmmlab.com/mmocr/data/wildreceipt.tar; mkdir -p data; tar -xf wildreceipt.tar --directory data; rm -f wildreceipt.tar')
8
 
9
  import datetime
 
3
 
4
  print(torch.__version__)
5
  torch_ver, cuda_ver = torch.__version__.split('+')
6
+ os.system(f'pip install mmdet mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuda_ver}/torch1.10.0/index.html --no-cache-dir')
7
  os.system('wget -c https://download.openmmlab.com/mmocr/data/wildreceipt.tar; mkdir -p data; tar -xf wildreceipt.tar --directory data; rm -f wildreceipt.tar')
8
 
9
  import datetime