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