download_models.sh 497 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # Copyright (c) OpenMMLab. All rights reserved.
  3. # Create models folder
  4. mkdir models
  5. # Go to models folder
  6. cd models
  7. # Download det model
  8. wget https://download.openmmlab.com/mmpose/v1/projects/rtmpose/rtmdet_nano_8xb32-100e_coco-obj365-person-05d8511e.pth
  9. # Download pose model
  10. wget https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/rtmpose-m_simcc-aic-coco_pt-aic-coco_420e-256x192-63eb25f7_20230126.pth
  11. # Go back mmpose4aigc
  12. cd ..
  13. # Success
  14. echo "Download completed."