Spaces:
Running
on
A10G
Running
on
A10G
Update evaluate.py
Browse files- evaluate.py +6 -5
evaluate.py
CHANGED
@@ -269,14 +269,15 @@ def install():
|
|
269 |
|
270 |
os.system('mim install mmengine')
|
271 |
os.system('pip3 install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.4/index.html"')
|
272 |
-
os.system('mim install "mmdet
|
273 |
-
os.system('git clone https://github.com/open-mmlab/mmpose.git')
|
274 |
-
os.chdir('mmpose')
|
275 |
-
os.system('pip install -r requirements.txt')
|
276 |
-
os.chdir('../')
|
277 |
import subprocess
|
278 |
subprocess.run(["pip", "uninstall", "-y", "numpy"], check=True)
|
279 |
subprocess.run(["pip", "install", "numpy<2"], check=True)
|
|
|
280 |
os.system('mim install "mmpose>=1.1.0"')
|
281 |
|
282 |
|
|
|
269 |
|
270 |
os.system('mim install mmengine')
|
271 |
os.system('pip3 install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.4/index.html"')
|
272 |
+
os.system('mim install "mmdet"')
|
273 |
+
# os.system('git clone https://github.com/open-mmlab/mmpose.git')
|
274 |
+
# os.chdir('mmpose')
|
275 |
+
# os.system('pip install -r requirements.txt')
|
276 |
+
# os.chdir('../')
|
277 |
import subprocess
|
278 |
subprocess.run(["pip", "uninstall", "-y", "numpy"], check=True)
|
279 |
subprocess.run(["pip", "install", "numpy<2"], check=True)
|
280 |
+
# os.system('mim install "mmpose"')
|
281 |
os.system('mim install "mmpose>=1.1.0"')
|
282 |
|
283 |
|