prepare.sh 639 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. pip install -U pip Cython
  3. pip install -r requirements.txt
  4. mv ./dataset/coco/download_coco.py . && rm -rf ./dataset/coco/* && mv ./download_coco.py ./dataset/coco/
  5. # prepare lite train data
  6. wget -nc -P ./dataset/coco/ https://paddledet.bj.bcebos.com/data/coco_benchmark.tar
  7. cd ./dataset/coco/ && tar -xvf coco_benchmark.tar && mv -u coco_benchmark/* .
  8. rm -rf coco_benchmark/
  9. cd ../../
  10. rm -rf ./dataset/mot/*
  11. # prepare mot mini train data
  12. wget -nc -P ./dataset/mot/ https://paddledet.bj.bcebos.com/data/mot_benchmark.tar
  13. cd ./dataset/mot/ && tar -xvf mot_benchmark.tar && mv -u mot_benchmark/* .
  14. rm -rf mot_benchmark/