diff --git a/test_tipc/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_infer_python.txt b/test_tipc/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_infer_python.txt index ec6d1cd498324d547619804d744af4321dfb3d2e..68fb792c85ba6836b8a32ff83f38f1453cb3a366 100644 --- a/test_tipc/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_infer_python.txt +++ b/test_tipc/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/GeneralRecognition/GeneralRecognition pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/GeneralRecognitionV2/GeneralRecognitionV2_PPLCNetV2_base_train_infer_python.txt b/test_tipc/configs/GeneralRecognitionV2/GeneralRecognitionV2_PPLCNetV2_base_train_infer_python.txt index 0e5ed2d0de1e897b1db669a7a27791f1f7307be8..2d65a7dfd34dce70e4d8a28a1e9d68a622ad7e7a 100644 --- a/test_tipc/configs/GeneralRecognitionV2/GeneralRecognitionV2_PPLCNetV2_base_train_infer_python.txt +++ b/test_tipc/configs/GeneralRecognitionV2/GeneralRecognitionV2_PPLCNetV2_base_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/GeneralRecognitionV2/GeneralRecogniti pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt b/test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt index d6476ffb6c7d9789584702c5c413215339ed3703..730032c8b465fb608416f7299d97215c1fc04e69 100644 --- a/test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt +++ b/test_tipc/configs/PPHGNet/PPHGNet_small_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPHGNet/PPHGNet_small.yaml - pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt b/test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt index 50d0e8241c2682cdefac9425ffe99474f5ae7598..0093760dc2e583cb2ba72f9ff2177b8098f6cc67 100644 --- a/test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt +++ b/test_tipc/configs/PPHGNet/PPHGNet_tiny_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPHGNet/PPHGNet_tiny.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt index 25c43392fb542defaf3d3e2ee943513e98322541..631100a582d7a79b5b4e0796948e9747e05b0970 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x0_25_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_25.yaml - pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_25.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt index b3c5cbfad73edd6c8e136a4c10e07caeb8b260ca..db797cf54ab96a2e642430cfd95efb10f47fb1a0 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x0_35_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_35.yaml - pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_35.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt index c095addbc1d938619d2293c49d1f96d40a751e9d..74068bf58417a0b4c712a86ecf9154d69ce58e16 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x0_5_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_5.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_5.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt index af44a17ce36deaadfb18b6951cc9219cfae224c2..8b3be58cafe034cf95220fa3a40ce0f42cda8bde 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x0_75_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_75.yaml - pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x0_75.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt index 38f1d4df9db69d42c1e11a340168945d7ddd6257..6b941e682a0c30f076a2e009b5486c9b43b9c8a3 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x1_0_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_0.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_0.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt index 8d803e2189ea2f3f40ab2a17317a1005a17bd111..2ad579210019d301c3dfd206bb91cfba826a2c62 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x1_5_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_5.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_5.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt index a597ffe168568d925c96ed264dda009477a3d69d..8cb052e54ed064e9987ce4deae29986324a36bdc 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x2_0_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x2_0.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x2_0.yaml null:null ## @@ -57,4 +57,4 @@ model_type:norm_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt b/test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt index ad6a819f4c959fff5b8580435b698d74f7819619..aee0289912ad4b2aa71dacfd4986f524069bb6ae 100644 --- a/test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt +++ b/test_tipc/configs/PPLCNet/PPLCNet_x2_5_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x2_5.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt b/test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt index e0dc93af0c63ef41ede4f097f01e68c8015fed57..637c1a4c89340e4405043d993d3d28e924c4b34d 100644 --- a/test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt +++ b/test_tipc/configs/PPLCNetV2/PPLCNetV2_base_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PPLCNetV2/PPLCNetV2_base.yam pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt b/test_tipc/configs/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt index 51572b8c52bb3fadc0c488b8655ad7de81b6d460..e6097e132ff9b41b1db0bc68d7ccb9d6752455b1 100644 --- a/test_tipc/configs/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt +++ b/test_tipc/configs/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/PVTV2/PVT_V2_B2_Linear.yaml pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/ResNeXt/ResNeXt50_32x4d_train_infer_python.txt b/test_tipc/configs/ResNeXt/ResNeXt50_32x4d_train_infer_python.txt index 138c90a3246b744de7f87d421aa30eb28f131be4..4ef4fd9f60b9aa062d5e3b1cd68a48e78aa66aa6 100644 --- a/test_tipc/configs/ResNeXt/ResNeXt50_32x4d_train_infer_python.txt +++ b/test_tipc/configs/ResNeXt/ResNeXt50_32x4d_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/ResNeXt/ResNeXt50_32x4d.yaml pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/ResNeXt/ResNeXt50_32x4d.yaml null:null ## @@ -58,4 +58,4 @@ model_type:norm_train|to_static_train --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 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt b/test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt index 3ec673fa6c8e5a7bf590a544982fb96aaf02d704..b7ac2f6bf673f2d43350d05fcda840f72799437c 100644 --- a/test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt +++ b/test_tipc/configs/ResNet/ResNet50_vd_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml -o G pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt b/test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt index 4d2caee36b9897319291651161b1a4763455dc6c..b977a329062e11b03baf36ee00e87becef7a331d 100644 --- a/test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt +++ b/test_tipc/configs/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/SwinTransformer/SwinTransfor pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params=========================== diff --git a/test_tipc/configs/Twins/alt_gvt_base_train_infer_python.txt b/test_tipc/configs/Twins/alt_gvt_base_train_infer_python.txt index 743ebcea5109ebd751dd8c52753a08f044b0c421..1ed540da24cc68ef439c0e2f81eb6f6ebf115e11 100644 --- a/test_tipc/configs/Twins/alt_gvt_base_train_infer_python.txt +++ b/test_tipc/configs/Twins/alt_gvt_base_train_infer_python.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/Twins/alt_gvt_base.yaml -o G pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## ===========================eval_params===========================