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

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +2 -2
evaluate.py CHANGED
@@ -291,8 +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 -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')
 
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
+ os.system('pip install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.4/index.html')
296
  os.system('git clone https://github.com/open-mmlab/mmpose.git')
297
  os.chdir('mmpose')
298
  os.system('pip install -r requirements.txt')