ZiyuG commited on
Commit
1453c2a
·
verified ·
1 Parent(s): ba5fa6a

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +2 -1
evaluate.py CHANGED
@@ -291,7 +291,7 @@ 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.1.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')
@@ -302,6 +302,7 @@ def install():
302
  os.system('cp ./test.py ./mmdetection/mmdet/__init__.py')
303
  os.chdir('mmdetection')
304
  os.system('pip install -v -e .')
 
305
  os.chdir('../')
306
 
307
  os.system('apt-get install ffmpeg imagemagick')
 
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')
 
302
  os.system('cp ./test.py ./mmdetection/mmdet/__init__.py')
303
  os.chdir('mmdetection')
304
  os.system('pip install -v -e .')
305
+ os.system('python mmdet/utils/collect_env.py')
306
  os.chdir('../')
307
 
308
  os.system('apt-get install ffmpeg imagemagick')