Xception41_train_infer_python.txt 2.4 KB
Newer Older
S
stephon 已提交
1
===========================train_params===========================
2
model_name:Xception41
S
stephon 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15
python:python3.7
gpu_list:0|0,1
-o Global.device:gpu
-o Global.auto_cast:null
-o Global.epochs:lite_train_lite_infer=2|whole_train_whole_infer=120
-o Global.output_dir:./output/
-o DataLoader.Train.sampler.batch_size:8
-o Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
##
trainer:norm_train
16
norm_train:tools/train.py -c ppcls/configs/ImageNet/Xception/Xception41.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False -o Global.eval_during_train=False -o Global.save_interval=2
S
stephon 已提交
17 18 19
pact_train:null
fpgm_train:null
distill_train:null
weixin_46524038's avatar
modify  
weixin_46524038 已提交
20
to_static_train:-o Global.to_static=True
S
stephon 已提交
21 22 23
null:null
##
===========================eval_params=========================== 
24
eval:tools/eval.py -c ppcls/configs/ImageNet/Xception/Xception41.yaml
S
stephon 已提交
25 26 27 28 29
null:null
##
===========================infer_params==========================
-o Global.save_inference_dir:./inference
-o Global.pretrained_model:
30
norm_export:tools/export_model.py -c ppcls/configs/ImageNet/Xception/Xception41.yaml
S
stephon 已提交
31 32 33 34 35
quant_export:null
fpgm_export:null
distill_export:null
kl_quant:null
export2:null
36
pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/Xception41_pretrained.pdparams
S
stephon 已提交
37 38 39
infer_model:../inference/
infer_export:True
infer_quant:Fasle
D
dongshuilong 已提交
40
inference:python/predict_cls.py -c configs/inference_cls.yaml -o PreProcess.transform_ops.0.ResizeImage.resize_short=320 -o PreProcess.transform_ops.1.CropImage.size=299
S
stephon 已提交
41
-o Global.use_gpu:True|False
42 43 44 45 46
-o Global.enable_mkldnn:False
-o Global.cpu_num_threads:1
-o Global.batch_size:1
-o Global.use_tensorrt:False
-o Global.use_fp16:False
S
stephon 已提交
47
-o Global.inference_model_dir:../inference
48
-o Global.infer_imgs:../dataset/ILSVRC2012/val/ILSVRC2012_val_00000001.JPEG
S
stephon 已提交
49
-o Global.save_log_path:null
50
-o Global.benchmark:False
S
stephon 已提交
51
null:null
52
null:null
weixin_46524038's avatar
weixin_46524038 已提交
53 54 55 56 57
===========================train_benchmark_params==========================
batch_size:64
fp_items:fp32|fp16
epoch:1
model_type:norm_train|to_static_train
G
gaotingquan 已提交
58
num_workers:12
weixin_46524038's avatar
weixin_46524038 已提交
59 60
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
W
weishengyu 已提交
61
===========================infer_benchmark_params==========================
weixin_46524038's avatar
modify  
weixin_46524038 已提交
62
random_infer_input:[{float32,[3,299,299]}]