未验证 提交 87f4c883 编写于 作者: S shangliang Xu 提交者: GitHub

[TIPC] fix bug in shell, test=document_fix (#4902)

上级 37a90cd1
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py ...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py
--device:gpu|cpu --device:gpu|cpu
--enable_mkldnn:True|False --enable_mkldnn:True|False
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/spine_coco/test/ --image_dir:./dataset/spine_coco/test/
--save_log_path:null --save_log_path:null
......
...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py ...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py
--device:gpu|cpu --device:gpu|cpu
--enable_mkldnn:True|False --enable_mkldnn:True|False
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/spine_coco/test/ --image_dir:./dataset/spine_coco/test/
--save_log_path:null --save_log_path:null
......
...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py ...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py
--device:gpu|cpu --device:gpu|cpu
--enable_mkldnn:True|False --enable_mkldnn:True|False
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/spine_coco/test/ --image_dir:./dataset/spine_coco/test/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/wider_face/WIDER_val/images/0--Parade/ --image_dir:./dataset/wider_face/WIDER_val/images/0--Parade/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/wider_face/WIDER_val/images/0--Parade/ --image_dir:./dataset/wider_face/WIDER_val/images/0--Parade/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py ...@@ -41,9 +41,9 @@ inference:./deploy/python/infer.py
--device:gpu|cpu --device:gpu|cpu
--enable_mkldnn:True|False --enable_mkldnn:True|False
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -6,7 +6,7 @@ use_gpu:True ...@@ -6,7 +6,7 @@ use_gpu:True
auto_cast:null auto_cast:null
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=12 epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=12
save_dir:null save_dir:null
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=1 TrainReader.batch_size:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=1
pretrain_weights:https://paddledet.bj.bcebos.com/models/faster_rcnn_x101_vd_64x4d_fpn_1x_coco.pdparams pretrain_weights:https://paddledet.bj.bcebos.com/models/faster_rcnn_x101_vd_64x4d_fpn_1x_coco.pdparams
trained_model_name:model_final.pdparams trained_model_name:model_final.pdparams
train_infer_img_dir:./dataset/coco/test2017/ train_infer_img_dir:./dataset/coco/test2017/
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/keypoint_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -6,7 +6,7 @@ use_gpu:True ...@@ -6,7 +6,7 @@ use_gpu:True
auto_cast:null auto_cast:null
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=12 epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=12
save_dir:null save_dir:null
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=1 TrainReader.batch_size:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=1
pretrain_weights:https://paddledet.bj.bcebos.com/models/mask_rcnn_x101_vd_64x4d_fpn_1x_coco.pdparams pretrain_weights:https://paddledet.bj.bcebos.com/models/mask_rcnn_x101_vd_64x4d_fpn_1x_coco.pdparams
trained_model_name:model_final.pdparams trained_model_name:model_final.pdparams
train_infer_img_dir:./dataset/coco/test2017/ train_infer_img_dir:./dataset/coco/test2017/
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--video_file:./dataset/mot/test.mp4 --video_file:./dataset/mot/test.mp4
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--video_file:./dataset/mot/test.mp4 --video_file:./dataset/mot/test.mp4
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/pptracking/python/mot_jde_infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--video_file:./dataset/mot/test.mp4 --video_file:./dataset/mot/test.mp4
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -7,7 +7,7 @@ auto_cast:null ...@@ -7,7 +7,7 @@ auto_cast:null
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300
save_dir:null save_dir:null
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=56 TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=56
pretrain_weights:https://paddledet.bj.bcebos.com/models/picodet_r18_640_coco.pdparams pretrain_weights:null
trained_model_name:model_final.pdparams trained_model_name:model_final.pdparams
train_infer_img_dir:./dataset/coco/test2017/ train_infer_img_dir:./dataset/coco/test2017/
filename:null filename:null
...@@ -26,7 +26,7 @@ null:null ...@@ -26,7 +26,7 @@ null:null
## ##
===========================infer_params=========================== ===========================infer_params===========================
--output_dir:./output_inference --output_dir:./output_inference
weights:https://paddledet.bj.bcebos.com/models/picodet_r18_640_coco.pdparams weights:null
norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml -o norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml -o
pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o
fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1 --batch_size:1
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_int8 --run_mode:paddle|trt_int8
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py ...@@ -43,7 +43,7 @@ inference:./deploy/python/infer.py
--cpu_threads:1|6 --cpu_threads:1|6
--batch_size:1|2 --batch_size:1|2
--use_tensorrt:null --use_tensorrt:null
--run_mode:fluid|trt_fp32|trt_fp16 --run_mode:paddle|trt_fp32|trt_fp16
--model_dir: --model_dir:
--image_dir:./dataset/coco/test2017/ --image_dir:./dataset/coco/test2017/
--save_log_path:null --save_log_path:null
......
...@@ -197,8 +197,7 @@ if [ ${MODE} = "whole_infer" ] || [ ${MODE} = "klquant_whole_infer" ]; then ...@@ -197,8 +197,7 @@ if [ ${MODE} = "whole_infer" ] || [ ${MODE} = "klquant_whole_infer" ]; then
export_cmd="${python} ${run_export} ${set_export_weight} ${set_filename} ${set_save_export_dir} " export_cmd="${python} ${run_export} ${set_export_weight} ${set_filename} ${set_save_export_dir} "
echo $export_cmd echo $export_cmd
eval $export_cmd eval $export_cmd
status_export=$? status_check $? "${export_cmd}" "${status_log}"
status_check $status_export "${export_cmd}" "${status_log}"
#run inference #run inference
save_export_model_dir="${save_export_value}/${model_name}" save_export_model_dir="${save_export_value}/${model_name}"
...@@ -283,7 +282,6 @@ else ...@@ -283,7 +282,6 @@ else
cmd="${python} -m paddle.distributed.launch --ips=${ips} --gpus=${gpu} ${set_use_gpu} ${run_train} ${set_save_model} ${set_pretrain} ${set_epoch} ${set_batchsize} ${set_filename} ${set_autocast}" cmd="${python} -m paddle.distributed.launch --ips=${ips} --gpus=${gpu} ${set_use_gpu} ${run_train} ${set_save_model} ${set_pretrain} ${set_epoch} ${set_batchsize} ${set_filename} ${set_autocast}"
fi fi
# run train # run train
eval "unset CUDA_VISIBLE_DEVICES"
eval $cmd eval $cmd
status_check $? "${cmd}" "${status_log}" status_check $? "${cmd}" "${status_log}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册