train_infer_python.txt 1.9 KB
Newer Older
L
lzzyzlbb 已提交
1 2 3 4 5 6
===========================train_params===========================
model_name:msvsr
python:python3.7
gpu_list:0
##
auto_cast:null
L
lzzyzlbb 已提交
7
total_iters:lite_train_lite_infer=10|lite_train_whole_infer=10|whole_train_whole_infer=200
L
lzzyzlbb 已提交
8 9 10 11 12 13 14 15
output_dir:./output/
dataset.train.batch_size:lite_train_lite_infer=1|whole_train_whole_infer=1
pretrained_model:null
train_model_name:msvsr_reds*/*checkpoint.pdparams
train_infer_img_dir:./data/msvsr_reds/test
null:null
##
trainer:norm_train
B
Birdylx 已提交
16
norm_train:tools/main.py -c configs/msvsr_reds.yaml --seed 123 -o log_config.interval=1 snapshot_config.interval=5 dataset.train.dataset.num_frames=15
L
lzzyzlbb 已提交
17 18 19
pact_train:null
fpgm_train:null
distill_train:null
W
wangna11BD 已提交
20
null:null
L
lzzyzlbb 已提交
21 22
null:null
##
23
===========================eval_params===========================
L
lzzyzlbb 已提交
24 25 26 27 28 29
eval:null
null:null
##
===========================infer_params===========================
--output_dir:./output/
load:null
30 31
norm_export:tools/export_model.py -c configs/msvsr_reds.yaml  --inputs_size="1,2,3,180,320"  --model_name inference --load
quant_export:null
L
lzzyzlbb 已提交
32 33 34 35
fpgm_export:null
distill_export:null
export1:null
export2:null
L
lzzyzlbb 已提交
36
inference_dir:inference
L
lzzyzlbb 已提交
37 38 39
train_model:./inference/msvsr/multistagevsrmodel_generator
infer_export:null
infer_quant:False
40 41
inference:tools/inference.py --model_type msvsr -c configs/msvsr_reds.yaml --seed 123 -o dataset.test.num_frames=2 --output_path test_tipc/output/
--device:cpu
L
lzzyzlbb 已提交
42 43 44 45 46 47 48 49 50
null:null
null:null
null:null
null:null
null:null
--model_path:
null:null
null:null
--benchmark:True
L
lzzyzlbb 已提交
51
null:null
W
wangna11BD 已提交
52 53
===========================to_static_train_benchmark_params===========================
to_static_train:model.to_static=True
54
===========================train_benchmark_params==========================
B
Birdylx 已提交
55
batch_size:2|4
B
Birdylx 已提交
56
fp_items:fp32|fp16
57 58
total_iters:60
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
W
wangna11BD 已提交
59
flags:FLAGS_cudnn_exhaustive_search=1
L
lzzyzlbb 已提交
60 61
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[2,3,180,320]}]