54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
===========================train_params===========================
|
|
model_name:sr_telescope
|
|
python:python3.7
|
|
gpu_list:0|0,1
|
|
Global.use_gpu:True|True
|
|
Global.auto_cast:null
|
|
Global.epoch_num:lite_train_lite_infer=1|whole_train_whole_infer=300
|
|
Global.save_model_dir:./output/
|
|
Train.loader.batch_size_per_card:lite_train_lite_infer=16|whole_train_whole_infer=16
|
|
Global.pretrained_model:null
|
|
train_model_name:latest
|
|
train_infer_img_dir:./inference/rec_inference
|
|
null:null
|
|
##
|
|
trainer:norm_train
|
|
norm_train:tools/train.py -c test_tipc/configs/sr_telescope/sr_telescope.yml -o
|
|
pact_train:null
|
|
fpgm_train:null
|
|
distill_train:null
|
|
null:null
|
|
null:null
|
|
##
|
|
===========================eval_params===========================
|
|
eval:null
|
|
null:null
|
|
##
|
|
===========================infer_params===========================
|
|
Global.save_inference_dir:./output/
|
|
Global.checkpoints:
|
|
norm_export:tools/export_model.py -c test_tipc/configs/sr_telescope/sr_telescope.yml -o
|
|
quant_export:null
|
|
fpgm_export:null
|
|
distill_export:null
|
|
export1:null
|
|
export2:null
|
|
##
|
|
train_model:./inference/sr_telescope_train/best_accuracy
|
|
infer_export:tools/export_model.py -c test_tipc/configs/sr_telescope/sr_telescope.yml -o
|
|
infer_quant:False
|
|
inference:tools/infer/predict_sr.py --sr_image_shape="1,32,128" --rec_algorithm="Telescope" --min_subgraph_size=5
|
|
--use_gpu:True|False
|
|
--enable_mkldnn:False
|
|
--cpu_threads:6
|
|
--rec_batch_num:1
|
|
--use_tensorrt:False
|
|
--precision:fp32
|
|
--sr_model_dir:
|
|
--image_dir:./inference/rec_inference
|
|
--save_log_path:./test/output/
|
|
--benchmark:True
|
|
null:null
|
|
===========================infer_benchmark_params==========================
|
|
random_infer_input:[{float32,[1,32,128]}]
|