jinlinyi commited on
Commit
8a59b10
1 Parent(s): dd7e50b

test new env

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +0 -1
app.py CHANGED
@@ -1,5 +1,7 @@
1
 
2
  import os
 
 
3
  os.system(f"pip install git+https://github.com/jinlinyi/PerspectiveFields.git@dev#egg=perspective2d")
4
 
5
 
 
1
 
2
  import os
3
+ os.system(f"pip install -U openmim")
4
+ os.system(f"mim install mmcv")
5
  os.system(f"pip install git+https://github.com/jinlinyi/PerspectiveFields.git@dev#egg=perspective2d")
6
 
7
 
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  --extra-index-url https://download.pytorch.org/whl/cu113
2
  torch==1.11.0+cu113
3
  torchvision==0.12.0+cu113
4
- https://download.openmmlab.com/mmcv/dist/cu113/torch1.11/mmcv-2.0.0rc4-cp39-cp39-manylinux1_x86_64.whl
 
1
  --extra-index-url https://download.pytorch.org/whl/cu113
2
  torch==1.11.0+cu113
3
  torchvision==0.12.0+cu113