Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
print("Reinstalling mmcv")
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
print("mmcv install complete")
|
| 6 |
|
| 7 |
from icevision.all import *
|
| 8 |
from icevision.models.checkpoint import *
|
|
|
|
| 1 |
print("Reinstalling mmcv")
|
| 2 |
+
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "-y", "mmcv-full==1.3.17"])
|
| 3 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "mmcv-full==1.3.17", "-f", "https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html"])
|
| 4 |
+
print("mmcv install complete")
|
|
|
|
| 5 |
|
| 6 |
from icevision.all import *
|
| 7 |
from icevision.models.checkpoint import *
|