Spaces:
Build error
Build error
Liangyu
commited on
Commit
Β·
6119602
1
Parent(s):
832c24a
mmcv 1.5.2
Browse files
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.
|
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())
|