Spaces:
Runtime error
Runtime error
fixing version for mmdet
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
7 |
subprocess.call('pip install python-dotenv'.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==3.0.0'.split())
|
12 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
13 |
subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
|
|
|
7 |
subprocess.call('pip install python-dotenv'.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==0.7.2'.split())
|
11 |
subprocess.call('mim install mmdet==3.0.0'.split())
|
12 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
13 |
subprocess.call('pip install git+https://github.com/cocodataset/panopticapi.git'.split())
|