Spaces:
Sleeping
Sleeping
Commit
•
ae99a9c
1
Parent(s):
a084a37
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import os
|
2 |
os.system("pip uninstall mmcv-full")
|
|
|
3 |
os.system("mim install 'mmengine>=0.6.0'")
|
4 |
os.system("mim install 'mmcv>=2.0.0rc4,<2.1.0'")
|
5 |
os.system("mim install 'mmdet>=3.0.0,<4.0.0'")
|
|
|
1 |
import os
|
2 |
os.system("pip uninstall mmcv-full")
|
3 |
+
os.system("pip install torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu118")
|
4 |
os.system("mim install 'mmengine>=0.6.0'")
|
5 |
os.system("mim install 'mmcv>=2.0.0rc4,<2.1.0'")
|
6 |
os.system("mim install 'mmdet>=3.0.0,<4.0.0'")
|