Spaces:
Sleeping
Sleeping
stevengrove
commited on
Commit
•
db858ba
1
Parent(s):
2d2a876
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system("pip uninstall mmcv-full torch torchvision")
|
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'")
|
|
|
1 |
import os
|
2 |
+
os.system("pip uninstall -y mmcv-full torch torchvision")
|
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'")
|