ZiyuG commited on
Commit
e4ad007
·
verified ·
1 Parent(s): e4537d7

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +2 -1
evaluate.py CHANGED
@@ -291,7 +291,8 @@ def install():
291
  subprocess.run(["pip", "install", "numpy<2"], check=True)
292
 
293
  os.system('mim install mmengine')
294
- os.system('mim install mmcv==2.2.0')
 
295
  os.system('git clone https://github.com/open-mmlab/mmpose.git')
296
  os.chdir('mmpose')
297
  os.system('pip install -r requirements.txt')
 
291
  subprocess.run(["pip", "install", "numpy<2"], check=True)
292
 
293
  os.system('mim install mmengine')
294
+ os.system('mim install mmcv==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple')
295
+
296
  os.system('git clone https://github.com/open-mmlab/mmpose.git')
297
  os.chdir('mmpose')
298
  os.system('pip install -r requirements.txt')