Liangyu commited on
Commit
6119602
β€’
1 Parent(s): 832c24a

mmcv 1.5.2

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,9 +12,9 @@ if os.getenv('SYSTEM') == 'spaces':
12
  import mim
13
 
14
  mim.uninstall('mmcv-full', confirm_yes=True)
15
- mim.install('mmcv-full==1.4.3', is_yes=True)
16
- mim.uninstall('mmdet', confirm_yes=True)
17
- mim.install('mmdet==2.20.0', is_yes=True)
18
 
19
  subprocess.call('pip uninstall -y opencv-python'.split())
20
  subprocess.call('pip uninstall -y opencv-python-headless'.split())
 
12
  import mim
13
 
14
  mim.uninstall('mmcv-full', confirm_yes=True)
15
+ mim.install('mmcv-full==1.5.2', is_yes=True)
16
+ # mim.uninstall('mmdet', confirm_yes=True)
17
+ # mim.install('mmdet==2.20.0', is_yes=True)
18
 
19
  subprocess.call('pip uninstall -y opencv-python'.split())
20
  subprocess.call('pip uninstall -y opencv-python-headless'.split())