未验证 提交 a6fc3bcf 编写于 作者: G gmm 提交者: GitHub

【Develop】fix benchmark (#6017)

* fix becnhmark,delete run_process_type

* fix

* fix benchmarkk

* fix mask_rcnn_r50_1x_coco benchmark

* fix benchmark

* fix benchmark

* fix benchmark prepare.sh
Co-authored-by: Nzhengya01 <zhengya01@baidu.com>
上级 ea5f339a
...@@ -61,12 +61,16 @@ elif [ ${MODE} = "benchmark_train" ];then ...@@ -61,12 +61,16 @@ elif [ ${MODE} = "benchmark_train" ];then
pip install -r requirements.txt pip install -r requirements.txt
# prepare lite benchmark coco data # prepare lite benchmark coco data
wget -nc -P ./dataset/coco/ https://paddledet.bj.bcebos.com/data/coco_benchmark.tar wget -nc -P ./dataset/coco/ https://paddledet.bj.bcebos.com/data/coco_benchmark.tar
cd ./dataset/coco/ && tar -xvf coco_benchmark.tar && mv -u coco_benchmark/* . cd ./dataset/coco/ && tar -xvf coco_benchmark.tar
rm -rf coco_benchmark/ && cd ../../ mv -u coco_benchmark/* ./
ls ./
cd ../../
# prepare lite benchmark mot data # prepare lite benchmark mot data
wget -nc -P ./dataset/mot/ https://paddledet.bj.bcebos.com/data/mot_benchmark.tar wget -nc -P ./dataset/mot/ https://paddledet.bj.bcebos.com/data/mot_benchmark.tar
cd ./dataset/mot/ && tar -xvf mot_benchmark.tar && mv -u mot_benchmark/* . cd ./dataset/mot/ && tar -xvf mot_benchmark.tar
rm -rf mot_benchmark/ && cd ../../ mv -u mot_benchmark/* ./
ls ./
cd ../../
elif [ ${MODE} = "paddle2onnx_infer" ];then elif [ ${MODE} = "paddle2onnx_infer" ];then
# set paddle2onnx_infer enve # set paddle2onnx_infer enve
${python} -m pip install install paddle2onnx ${python} -m pip install install paddle2onnx
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册