更换文档检测模型
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
===========================train_params===========================
|
||||
model_name:fairmot_dla34_30e_1088x608
|
||||
python:python3.7
|
||||
gpu_list:0|0,1
|
||||
use_gpu:True
|
||||
auto_cast:null
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=30
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=6
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/mot/fairmot_dla34_30e_1088x608.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/mot/test.mp4
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml -o
|
||||
pact_train:tools/train.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval_mot.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/mot/fairmot_dla34_30e_1088x608.pdparams
|
||||
norm_export:tools/export_model.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml -o
|
||||
pact_export:tools/export_model.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/mot/fairmot/fairmot_dla34_30e_1088x608.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/pptracking/python/mot_jde_infer.py
|
||||
--device:gpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--video_file:./dataset/mot/test.mp4
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:1600
|
||||
===========================train_benchmark_params==========================
|
||||
batch_size:6|20
|
||||
fp_items:fp32|fp16
|
||||
epoch:1
|
||||
repeat:1
|
||||
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
|
||||
flags:null
|
||||
===========================infer_benchmark_params===========================
|
||||
numpy_infer_input:3x608x1088.npy
|
||||
@@ -0,0 +1,43 @@
|
||||
_BASE_: [
|
||||
'../../../configs/datasets/mot.yml',
|
||||
'../../../configs/runtime.yml',
|
||||
'../../../configs/mot/fairmot/_base_/optimizer_30e_momentum.yml',
|
||||
'../../../configs/mot/fairmot/_base_/fairmot_hrnetv2_w18_dlafpn.yml',
|
||||
'../../../configs/mot/fairmot/_base_/fairmot_reader_576x320.yml',
|
||||
]
|
||||
|
||||
norm_type: sync_bn
|
||||
use_ema: true
|
||||
ema_decay: 0.9998
|
||||
|
||||
# add crowdhuman
|
||||
TrainDataset:
|
||||
!MOTDataSet
|
||||
dataset_dir: dataset/mot
|
||||
image_lists: ['mot17.train', 'caltech.all', 'cuhksysu.train', 'prw.train', 'citypersons.train', 'eth.train']
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'gt_ide']
|
||||
|
||||
worker_num: 4
|
||||
TrainReader:
|
||||
inputs_def:
|
||||
image_shape: [3, 320, 576]
|
||||
sample_transforms:
|
||||
- Decode: {}
|
||||
- RGBReverse: {}
|
||||
- AugmentHSV: {}
|
||||
- LetterBoxResize: {target_size: [320, 576]}
|
||||
- MOTRandomAffine: {reject_outside: False}
|
||||
- RandomFlip: {}
|
||||
- BboxXYXY2XYWH: {}
|
||||
- NormalizeBox: {}
|
||||
- NormalizeImage: {mean: [0, 0, 0], std: [1, 1, 1]}
|
||||
- RGBReverse: {}
|
||||
- Permute: {}
|
||||
batch_transforms:
|
||||
- Gt2FairMOTTarget: {}
|
||||
batch_size: 4
|
||||
shuffle: True
|
||||
drop_last: True
|
||||
use_shared_memory: True
|
||||
|
||||
weights: output/fairmot_hrnetv2_w18_dlafpn_30e_576x320/model_final
|
||||
@@ -0,0 +1,53 @@
|
||||
===========================train_params===========================
|
||||
model_name:fairmot_hrnetv2_w18_dlafpn_30e_576x320
|
||||
python:python3.7
|
||||
gpu_list:0|0,1
|
||||
use_gpu:True
|
||||
auto_cast:null
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=30
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=6
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/mot/test.mp4
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml -o
|
||||
pact_train:tools/train.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval_mot.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml -o
|
||||
pact_export:tools/export_model.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/mot/fairmot_hrnetv2_w18_dlafpn_30e_576x320.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/pptracking/python/mot_jde_infer.py
|
||||
--device:gpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--video_file:./dataset/mot/test.mp4
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
===========================infer_benchmark_params===========================
|
||||
numpy_infer_input:3x320x576.npy
|
||||
@@ -0,0 +1,60 @@
|
||||
===========================train_params===========================
|
||||
model_name:jde_darknet53_30e_1088x608
|
||||
python:python3.7
|
||||
gpu_list:0|0,1
|
||||
use_gpu:True
|
||||
auto_cast:null
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=30
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=4
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/mot/jde_darknet53_30e_1088x608.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/mot/test.mp4
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml -o
|
||||
pact_train:tools/train.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval_mot.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/mot/jde_darknet53_30e_1088x608.pdparams
|
||||
norm_export:tools/export_model.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml -o
|
||||
pact_export:tools/export_model.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/mot/jde/jde_darknet53_30e_1088x608.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/pptracking/python/mot_jde_infer.py
|
||||
--device:gpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--video_file:./dataset/mot/test.mp4
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:1600
|
||||
===========================train_benchmark_params==========================
|
||||
batch_size:4|12
|
||||
fp_items:fp32|fp16
|
||||
epoch:1
|
||||
repeat:1
|
||||
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
|
||||
flags:null
|
||||
===========================infer_benchmark_params===========================
|
||||
numpy_infer_input:3x608x1088.npy
|
||||
@@ -0,0 +1,60 @@
|
||||
===========================train_params===========================
|
||||
model_name:ocsort_ppyoloe
|
||||
python:python3.7
|
||||
gpu_list:0|0,1
|
||||
use_gpu:True
|
||||
auto_cast:null
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=30
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=4
|
||||
pretrain_weights:null
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/mot/test.mp4
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/mot/ocsort/ocsort_ppyoloe.yml -o
|
||||
pact_train:tools/train.py -c configs/mot/ocsort/ocsort_ppyoloe.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/mot/ocsort/ocsort_ppyoloe.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval_mot.py -c configs/mot/ocsort/ocsort_ppyoloe.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://bj.bcebos.com/v1/paddledet/models/mot/ppyoloe_crn_l_36e_640x640_mot17half.pdparams
|
||||
norm_export:tools/export_model.py -c configs/mot/bytetrack/detector/ppyoloe_crn_l_36e_640x640_mot17half.yml -o
|
||||
pact_export:tools/export_model.py -c configs/mot/bytetrack/detector/ppyoloe_crn_l_36e_640x640_mot17half.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/mot/bytetrack/detector/ppyoloe_crn_l_36e_640x640_mot17half.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/mot/ocsort/ocsort_ppyoloe.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/pptracking/python/mot_sde_infer.py --tracker_config deploy/pptracking/python/tracker_config.yml
|
||||
--device:gpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--video_file:./dataset/mot/test.mp4
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:1600
|
||||
===========================disable_train_benchmark==========================
|
||||
batch_size:4|12
|
||||
fp_items:fp32|fp16
|
||||
epoch:1
|
||||
repeat:1
|
||||
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
|
||||
flags:null
|
||||
===========================infer_benchmark_params===========================
|
||||
numpy_infer_input:3x640x640_2.npy
|
||||
Reference in New Issue
Block a user