|
| 1 | +===========================train_params=========================== |
| 2 | +model_name:pp_mobileseg |
| 3 | +python:python3.7 |
| 4 | +gpu_list:0|0,1 |
| 5 | +Global.use_gpu:null|null |
| 6 | +--precision:null |
| 7 | +--iters:lite_train_lite_infer=20|lite_train_whole_infer=20|whole_train_whole_infer=1000 |
| 8 | +--save_dir: |
| 9 | +--batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=3 |
| 10 | +--model_path:null |
| 11 | +train_model_name:best_model/model.pdparams |
| 12 | +train_infer_img_dir:test_tipc/data/cityscapes/cityscapes_val_5.list |
| 13 | +--profiler_options:null |
| 14 | +## |
| 15 | +trainer:norm_train |
| 16 | +norm_train:tools/train.py --config test_tipc/configs/pp_mobileseg/pp_mobileseg_base_ade20k_512x512_80k.yml --device gpu --save_interval 500 --seed 100 --num_workers 8 |
| 17 | +pact_train:null |
| 18 | +fpgm_train:null |
| 19 | +distill_train:null |
| 20 | +null:null |
| 21 | +null:null |
| 22 | +## |
| 23 | +===========================eval_params=========================== |
| 24 | +eval:null |
| 25 | +null:null |
| 26 | +## |
| 27 | +===========================export_params=========================== |
| 28 | +--save_dir: |
| 29 | +--model_path: |
| 30 | +norm_export:tools/export.py --config test_tipc/configs/pp_mobileseg/pp_mobileseg_base_ade20k_512x512_80k.yml |
| 31 | +quant_export:null |
| 32 | +fpgm_export:null |
| 33 | +distill_export:null |
| 34 | +export1:null |
| 35 | +export2:null |
| 36 | +===========================infer_params=========================== |
| 37 | +infer_model:./test_tipc/output/pp_mobileseg/model.pdparams |
| 38 | +infer_export:tools/export.py --config test_tipc/configs/pp_mobileseg/pp_mobileseg_base_ade20k_512x512_80k.yml |
| 39 | +infer_quant:False |
| 40 | +inference:deploy/python/infer.py --save_dir ./test_tipc/output/pp_mobileseg/ |
| 41 | +--device:cpu|gpu |
| 42 | +--enable_mkldnn:True |
| 43 | +--cpu_threads:6 |
| 44 | +--batch_size:1 |
| 45 | +--use_trt:False |
| 46 | +--precision:fp32 |
| 47 | +--config: |
| 48 | +--image_path:./test_tipc/data/cityscapes/cityscapes_val_5.list |
| 49 | +--save_log_path:null |
| 50 | +--benchmark:True |
| 51 | +--save_dir: |
| 52 | +--model_name:pp_mobileseg |
| 53 | +===========================infer_benchmark_params========================== |
| 54 | +random_infer_input:[{float32,[3,1024,1024]}] |
| 55 | +===========================to_static_train_benchmark_params=========================== |
| 56 | +to_static_train:--opts to_static_training=True |
| 57 | +===========================train_benchmark_params========================== |
| 58 | +batch_size:4 |
| 59 | +fp_items:fp32|fp16 |
| 60 | +epoch:400 |
| 61 | +--profiler_options:'batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile' |
| 62 | +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096;FLAGS_cudnn_deterministic=False |
| 63 | +log_iters:15;repeats:500 |
0 commit comments