Commit ·
6c9ff1e
1
Parent(s): 40ba3a7
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ try:
|
|
| 6 |
import mmcv
|
| 7 |
print("mmcv already installed")
|
| 8 |
except ImportError:
|
| 9 |
-
print("Installing mmcv
|
| 10 |
-
subprocess.check_call([sys.executable, "-m", "
|
| 11 |
print("mmcv installed successfully")
|
| 12 |
|
| 13 |
import torch
|
|
|
|
| 6 |
import mmcv
|
| 7 |
print("mmcv already installed")
|
| 8 |
except ImportError:
|
| 9 |
+
print("Installing mmcv with --no-build-isolation...")
|
| 10 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-build-isolation", "mmcv>=2.0.0"])
|
| 11 |
print("mmcv installed successfully")
|
| 12 |
|
| 13 |
import torch
|