train_infer_python.txt 1.9 KB
Newer Older
L
lzzyzlbb 已提交
1
===========================train_params===========================
L
lzzyzlbb 已提交
2
model_name:CycleGAN
L
lzzyzlbb 已提交
3 4 5 6
python:python3.7
gpu_list:0|0,1
##
auto_cast:null
L
lzzyzlbb 已提交
7
epochs:lite_train_lite_infer=1|lite_train_whole_infer=1|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:cyclegan_horse2zebra*/*checkpoint.pdparams
train_infer_img_dir:./data/horse2zebra/test
null:null
##
trainer:norm_train
L
lzzyzlbb 已提交
16
norm_train:tools/main.py -c configs/cyclegan_horse2zebra.yaml --seed 123 -o log_config.interval=1 snapshot_config.interval=1
L
lzzyzlbb 已提交
17 18 19
pact_train:null
fpgm_train:null
distill_train:null
W
wangna11BD 已提交
20
null:null
L
lzzyzlbb 已提交
21 22 23 24 25 26 27 28 29
null:null
##
===========================eval_params=========================== 
eval:null
null:null
##
===========================infer_params===========================
--output_dir:./output/
load:null
L
lzzyzlbb 已提交
30
norm_export:tools/export_model.py -c configs/cyclegan_horse2zebra.yaml  --inputs_size="-1,3,-1,-1;-1,3,-1,-1"  --model_name inference --load 
L
lzzyzlbb 已提交
31 32 33 34 35
quant_export:null 
fpgm_export:null
distill_export:null
export1:null
export2:null
L
lzzyzlbb 已提交
36
inference_dir:inference
L
lzzyzlbb 已提交
37 38 39
train_model:./inference/cyclegan_horse2zebra/cycleganmodel_netG_A
infer_export:null
infer_quant:False
40
inference:tools/inference.py --model_type cyclegan --seed 123 -c configs/cyclegan_horse2zebra.yaml --output_path test_tipc/output/
L
lzzyzlbb 已提交
41 42 43 44 45 46 47 48 49 50
--device:gpu
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
L
lzzyzlbb 已提交
54 55 56 57 58
===========================train_benchmark_params==========================
batch_size:1
fp_items:fp32
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
L
lzzyzlbb 已提交
59 60 61
flags:null
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,256,256]}]