更换文档检测模型
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
===========================train_params===========================
|
||||
model_name:dark_hrnet_w32_256x192
|
||||
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=210
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=64
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/dark_hrnet_w32_256x192.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml -o
|
||||
pact_train:tools/train.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/dark_hrnet_w32_256x192.pdparams
|
||||
norm_export:tools/export_model.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml -o
|
||||
pact_export:tools/export_model.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/keypoint/hrnet/dark_hrnet_w32_256x192.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
===========================infer_benchmark_params===========================
|
||||
random_infer_input:[{float32,[3,256,192]}]
|
||||
@@ -0,0 +1,60 @@
|
||||
===========================train_params===========================
|
||||
model_name:higherhrnet_hrnet_w32_512
|
||||
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=300
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=20
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/higherhrnet_hrnet_w32_512.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml -o
|
||||
pact_train:tools/train.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/higherhrnet_hrnet_w32_512.pdparams
|
||||
norm_export:tools/export_model.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml -o
|
||||
pact_export:tools/export_model.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/keypoint/higherhrnet/higherhrnet_hrnet_w32_512.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:1600
|
||||
===========================train_benchmark_params==========================
|
||||
batch_size:20|24
|
||||
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===========================
|
||||
random_infer_input:[{float32,[3,512,512]}]
|
||||
@@ -0,0 +1,60 @@
|
||||
===========================train_params===========================
|
||||
model_name:hrnet_w32_256x192
|
||||
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=210
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=64
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/hrnet_w32_256x192.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml -o
|
||||
pact_train:tools/train.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/hrnet_w32_256x192.pdparams
|
||||
norm_export:tools/export_model.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml -o
|
||||
pact_export:tools/export_model.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/keypoint/hrnet/hrnet_w32_256x192.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
===========================train_benchmark_params==========================
|
||||
batch_size:64|160
|
||||
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===========================
|
||||
random_infer_input:[{float32,[3,256,192]}]
|
||||
147
paddle_detection/test_tipc/configs/keypoint/tinypose_128x96.yml
Normal file
147
paddle_detection/test_tipc/configs/keypoint/tinypose_128x96.yml
Normal file
@@ -0,0 +1,147 @@
|
||||
use_gpu: true
|
||||
log_iter: 5
|
||||
save_dir: output
|
||||
snapshot_epoch: 10
|
||||
weights: output/tinypose_128x96/model_final
|
||||
epoch: 420
|
||||
num_joints: &num_joints 17
|
||||
pixel_std: &pixel_std 200
|
||||
metric: KeyPointTopDownCOCOEval
|
||||
num_classes: 1
|
||||
train_height: &train_height 128
|
||||
train_width: &train_width 96
|
||||
trainsize: &trainsize [*train_width, *train_height]
|
||||
hmsize: &hmsize [24, 32]
|
||||
flip_perm: &flip_perm [[1, 2], [3, 4], [5, 6], [7, 8], [9, 10], [11, 12], [13, 14], [15, 16]]
|
||||
|
||||
|
||||
#####model
|
||||
architecture: TopDownHRNet
|
||||
|
||||
TopDownHRNet:
|
||||
backbone: LiteHRNet
|
||||
post_process: HRNetPostProcess
|
||||
flip_perm: *flip_perm
|
||||
num_joints: *num_joints
|
||||
width: &width 40
|
||||
loss: KeyPointMSELoss
|
||||
use_dark: true
|
||||
|
||||
LiteHRNet:
|
||||
network_type: wider_naive
|
||||
freeze_at: -1
|
||||
freeze_norm: false
|
||||
return_idx: [0]
|
||||
|
||||
KeyPointMSELoss:
|
||||
use_target_weight: true
|
||||
loss_scale: 1.0
|
||||
|
||||
#####optimizer
|
||||
LearningRate:
|
||||
base_lr: 0.008
|
||||
schedulers:
|
||||
- !PiecewiseDecay
|
||||
milestones: [380, 410]
|
||||
gamma: 0.1
|
||||
- !LinearWarmup
|
||||
start_factor: 0.001
|
||||
steps: 500
|
||||
|
||||
OptimizerBuilder:
|
||||
optimizer:
|
||||
type: Adam
|
||||
regularizer:
|
||||
factor: 0.0
|
||||
type: L2
|
||||
|
||||
|
||||
#####data
|
||||
TrainDataset:
|
||||
!KeypointTopDownCocoDataset
|
||||
image_dir: train2017
|
||||
anno_path: annotations/person_keypoints_train2017.json
|
||||
dataset_dir: dataset/coco
|
||||
num_joints: *num_joints
|
||||
trainsize: *trainsize
|
||||
pixel_std: *pixel_std
|
||||
use_gt_bbox: True
|
||||
|
||||
|
||||
EvalDataset:
|
||||
!KeypointTopDownCocoDataset
|
||||
image_dir: val2017
|
||||
anno_path: annotations/person_keypoints_val2017.json
|
||||
dataset_dir: dataset/coco
|
||||
num_joints: *num_joints
|
||||
trainsize: *trainsize
|
||||
pixel_std: *pixel_std
|
||||
use_gt_bbox: True
|
||||
image_thre: 0.5
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: dataset/coco/keypoint_imagelist.txt
|
||||
|
||||
worker_num: 16
|
||||
global_mean: &global_mean [0.485, 0.456, 0.406]
|
||||
global_std: &global_std [0.229, 0.224, 0.225]
|
||||
TrainReader:
|
||||
sample_transforms:
|
||||
# - RandomFlipHalfBodyTransform:
|
||||
# scale: 0.25
|
||||
# rot: 30
|
||||
# num_joints_half_body: 8
|
||||
# prob_half_body: 0.3
|
||||
# pixel_std: *pixel_std
|
||||
# trainsize: *trainsize
|
||||
# upper_body_ids: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
# flip_pairs: *flip_perm
|
||||
# - AugmentationbyInformantionDropping:
|
||||
# prob_cutout: 0.5
|
||||
# offset_factor: 0.05
|
||||
# num_patch: 1
|
||||
# trainsize: *trainsize
|
||||
- TopDownAffine:
|
||||
trainsize: *trainsize
|
||||
use_udp: true
|
||||
- ToHeatmapsTopDown_DARK:
|
||||
hmsize: *hmsize
|
||||
sigma: 1
|
||||
batch_transforms:
|
||||
- NormalizeImage:
|
||||
mean: *global_mean
|
||||
std: *global_std
|
||||
is_scale: true
|
||||
- Permute: {}
|
||||
batch_size: 512
|
||||
shuffle: true
|
||||
drop_last: false
|
||||
|
||||
EvalReader:
|
||||
sample_transforms:
|
||||
- TopDownAffine:
|
||||
trainsize: *trainsize
|
||||
use_udp: true
|
||||
batch_transforms:
|
||||
- NormalizeImage:
|
||||
mean: *global_mean
|
||||
std: *global_std
|
||||
is_scale: true
|
||||
- Permute: {}
|
||||
batch_size: 16
|
||||
|
||||
TestReader:
|
||||
inputs_def:
|
||||
image_shape: [3, *train_height, *train_width]
|
||||
sample_transforms:
|
||||
- Decode: {}
|
||||
- TopDownEvalAffine:
|
||||
trainsize: *trainsize
|
||||
- NormalizeImage:
|
||||
mean: *global_mean
|
||||
std: *global_std
|
||||
is_scale: true
|
||||
- Permute: {}
|
||||
batch_size: 1
|
||||
fuse_normalize: false
|
||||
@@ -0,0 +1,29 @@
|
||||
===========================cpp_infer_params===========================
|
||||
model_name:tinypose_128x96_KL
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
opencv_dir:default
|
||||
infer_mode:null
|
||||
infer_quant:True
|
||||
inference:./deploy/cpp/build/main
|
||||
--device:gpu|cpu
|
||||
--use_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir_keypoint:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--run_benchmark:False
|
||||
--model_dir:./output_inference/picodet_s_320_pedestrian
|
||||
@@ -0,0 +1,26 @@
|
||||
===========================serving_infer_cpp_params===========================
|
||||
model_name:tinypose_128x96_KL
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:null
|
||||
infer_quant:True
|
||||
--model:null
|
||||
--op:tinypose_128x96
|
||||
--port:9997
|
||||
--gpu_ids:null|0
|
||||
null:null
|
||||
http_client:deploy/serving/cpp/serving_client.py
|
||||
--serving_client:null
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,24 @@
|
||||
===========================serving_infer_python_params===========================
|
||||
model_name:tinypose_128x96_KL
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:null
|
||||
infer_quant:True
|
||||
web_service:deploy/serving/python/web_service.py --config=deploy/serving/python/config.yml
|
||||
--model_dir:null
|
||||
--opt:cpu:op.ppdet.local_service_conf.device_type=0|gpu:op.ppdet.local_service_conf.device_type=1
|
||||
null:null
|
||||
http_client:deploy/serving/python/pipeline_http_client.py
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,29 @@
|
||||
===========================cpp_infer_params===========================
|
||||
model_name:tinypose_128x96_PACT
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://bj.bcebos.com/v1/paddledet/data/tipc/models/tinypose_128x96_qat.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/quant/tinypose_qat.yml -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
opencv_dir:default
|
||||
infer_mode:quant
|
||||
infer_quant:True
|
||||
inference:./deploy/cpp/build/main
|
||||
--device:gpu|cpu
|
||||
--use_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir_keypoint:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--run_benchmark:False
|
||||
--model_dir:./output_inference/picodet_s_320_pedestrian
|
||||
@@ -0,0 +1,26 @@
|
||||
===========================serving_infer_cpp_params===========================
|
||||
model_name:tinypose_128x96_PACT
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://bj.bcebos.com/v1/paddledet/data/tipc/models/tinypose_128x96_qat.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/quant/tinypose_qat.yml --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:quant
|
||||
infer_quant:True
|
||||
--model:null
|
||||
--op:tinypose_128x96
|
||||
--port:9997
|
||||
--gpu_ids:null|0
|
||||
null:null
|
||||
http_client:deploy/serving/cpp/serving_client.py
|
||||
--serving_client:null
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,24 @@
|
||||
===========================serving_infer_python_params===========================
|
||||
model_name:tinypose_128x96_PACT
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://bj.bcebos.com/v1/paddledet/data/tipc/models/tinypose_128x96_qat.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/quant/tinypose_qat.yml --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:quant
|
||||
infer_quant:True
|
||||
web_service:deploy/serving/python/web_service.py --config=deploy/serving/python/config.yml
|
||||
--model_dir:null
|
||||
--opt:cpu:op.ppdet.local_service_conf.device_type=0|gpu:op.ppdet.local_service_conf.device_type=1
|
||||
null:null
|
||||
http_client:deploy/serving/python/pipeline_http_client.py
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,29 @@
|
||||
===========================cpp_infer_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
opencv_dir:default
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/cpp/build/main
|
||||
--device:gpu|cpu
|
||||
--use_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir_keypoint:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--run_benchmark:False
|
||||
--model_dir:./output_inference/picodet_s_320_pedestrian
|
||||
@@ -0,0 +1,30 @@
|
||||
===========================paddle2onnx_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export_param:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/keypoint/tiny_pose/yolov3_darknet53_270e_coco.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
cmd:paddle2onnx
|
||||
--model_dir:null
|
||||
--model_filename:model.pdmodel
|
||||
--params_filename:model.pdiparams
|
||||
--save_file:model.onnx
|
||||
--opset_version:11
|
||||
--enable_onnx_checker:True
|
||||
paddle2onnx_param1:null
|
||||
infer_py:./deploy/third_engine/onnx/infer.py
|
||||
--infer_cfg:null
|
||||
--onnx_file:null
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
infer_param1:null
|
||||
@@ -0,0 +1,26 @@
|
||||
===========================serving_infer_cpp_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
--model:null
|
||||
--op:tinypose_128x96
|
||||
--port:9997
|
||||
--gpu_ids:null|0
|
||||
null:null
|
||||
http_client:deploy/serving/cpp/serving_client.py
|
||||
--serving_client:null
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,24 @@
|
||||
===========================serving_infer_python_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
filename:null
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --export_serving_model True -o
|
||||
quant_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact --export_serving_model True -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm --export_serving_model True -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml --export_serving_model True -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
web_service:deploy/serving/python/web_service.py --config=deploy/serving/python/config.yml
|
||||
--model_dir:null
|
||||
--opt:cpu:op.ppdet.local_service_conf.device_type=0|gpu:op.ppdet.local_service_conf.device_type=1
|
||||
null:null
|
||||
http_client:deploy/serving/python/pipeline_http_client.py
|
||||
--image_file:./demo/hrnet_demo.jpg
|
||||
null:null
|
||||
@@ -0,0 +1,62 @@
|
||||
===========================train_params===========================
|
||||
model_name:tinypose_128x96
|
||||
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=420
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=512
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o
|
||||
##
|
||||
infer_mode:norm|kl_quant
|
||||
infer_quant:False|True
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
===========================train_benchmark_params==========================
|
||||
batch_size:512
|
||||
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===========================
|
||||
random_infer_input:[{float32,[3,128,96]}]
|
||||
===========================to_static_train_benchmark_params===========================
|
||||
to_static_train:--to_static
|
||||
@@ -0,0 +1,51 @@
|
||||
===========================train_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
gpu_list:192.168.0.1,192.168.0.2;0,1
|
||||
use_gpu:True
|
||||
auto_cast:null
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=420
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=512
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
@@ -0,0 +1,51 @@
|
||||
===========================train_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
gpu_list:0|0,1
|
||||
use_gpu:True
|
||||
auto_cast:amp
|
||||
epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=420
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=512
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
null:null
|
||||
##
|
||||
trainer:norm_train
|
||||
norm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_pact -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c configs/keypoint/tiny_pose/tinypose_128x96.yml --slim_config _template_kl_quant -o
|
||||
##
|
||||
infer_mode:norm
|
||||
infer_quant:False
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:1600
|
||||
@@ -0,0 +1,51 @@
|
||||
===========================train_params===========================
|
||||
model_name:tinypose_128x96
|
||||
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=420
|
||||
save_dir:null
|
||||
TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=512
|
||||
pretrain_weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
trained_model_name:model_final.pdparams
|
||||
train_infer_img_dir:./dataset/coco/test2017/
|
||||
filename:null
|
||||
##
|
||||
trainer:pact_train
|
||||
norm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/quant/yolov3_mobilenet_v3_qat.yml -o
|
||||
fpgm_train:tools/train.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_train:null
|
||||
null:null
|
||||
null:null
|
||||
##
|
||||
===========================eval_params===========================
|
||||
eval:tools/eval.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
null:null
|
||||
##
|
||||
===========================infer_params===========================
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
norm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml -o
|
||||
pact_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/quant/yolov3_mobilenet_v3_qat.yml -o
|
||||
fpgm_export:tools/export_model.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config _template_fpgm -o
|
||||
distill_export:null
|
||||
export1:null
|
||||
export2:null
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o
|
||||
##
|
||||
infer_mode:pact
|
||||
infer_quant:True
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--use_tensorrt:null
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--save_log_path:null
|
||||
--run_benchmark:False
|
||||
--trt_max_shape:null
|
||||
@@ -0,0 +1,20 @@
|
||||
===========================ptq_params===========================
|
||||
model_name:tinypose_128x96
|
||||
python:python3.7
|
||||
filename:
|
||||
##
|
||||
--output_dir:./output_inference
|
||||
weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o
|
||||
export_param1:null
|
||||
##
|
||||
inference:./deploy/python/keypoint_infer.py
|
||||
--device:gpu|cpu
|
||||
--enable_mkldnn:False
|
||||
--cpu_threads:4
|
||||
--batch_size:1|2
|
||||
--run_mode:paddle
|
||||
--model_dir:
|
||||
--image_dir:./dataset/coco/test2017/
|
||||
--run_benchmark:False
|
||||
null:null
|
||||
Reference in New Issue
Block a user