Spaces:
Runtime error
Runtime error
piperod
commited on
Commit
•
5bbee66
1
Parent(s):
e213266
adding gpy
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import subprocess
|
|
5 |
if os.getenv('SYSTEM') == 'spaces':
|
6 |
|
7 |
subprocess.call('pip install -U openmim'.split())
|
8 |
-
subprocess.call('pip install torch==1.
|
9 |
subprocess.call('mim install mmcv>=2.0.0'.split())
|
10 |
subprocess.call('mim install mmengine'.split())
|
11 |
subprocess.call('mim install mmdet'.split())
|
|
|
5 |
if os.getenv('SYSTEM') == 'spaces':
|
6 |
|
7 |
subprocess.call('pip install -U openmim'.split())
|
8 |
+
subprocess.call('pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113'.split())
|
9 |
subprocess.call('mim install mmcv>=2.0.0'.split())
|
10 |
subprocess.call('mim install mmengine'.split())
|
11 |
subprocess.call('mim install mmdet'.split())
|