From baab34788f7a25324fd8ff4b4d8b2a9d2db27ec3 Mon Sep 17 00:00:00 2001 From: HydrogenSulfate <490868991@qq.com> Date: Thu, 23 Jun 2022 07:36:34 +0000 Subject: [PATCH] debug --- ...GeneralRecognition_PPLCNet_x2_5_train_ptq_infer_python.txt | 2 +- .../MobileNetV3_large_x1_0_train_ptq_infer_python.txt | 2 +- .../config/PPHGNet/PPHGNet_small_train_ptq_infer_python.txt | 4 ++-- .../config/PPLCNet/PPLCNet_x1_0_train_ptq_infer_python.txt | 2 +- .../PPLCNetV2/PPLCNetV2_base_train_ptq_infer_python.txt | 2 +- .../config/ResNet/ResNet50_vd_train_ptq_infer_python.txt | 4 ++-- ...sformer_tiny_patch4_window7_224_train_ptq_infer_python.txt | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test_tipc/config/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_ptq_infer_python.txt b/test_tipc/config/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_ptq_infer_python.txt index 1e67b925..76efbb75 100644 --- a/test_tipc/config/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_ptq_infer_python.txt +++ b/test_tipc/config/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5_train_ptq_infer_python.txt @@ -31,7 +31,7 @@ norm_export:null quant_export:tools/export_model.py -c ppcls/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5.yaml fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5.yaml -o Global.save_inference_dir=./deploy/models/general_PPLCNet_x2_5_lite_v1.0_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/GeneralRecognition/GeneralRecognition_PPLCNet_x2_5.yaml -o Global.save_inference_dir=./general_PPLCNet_x2_5_lite_v1.0_infer export2:null pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/general_PPLCNet_x2_5_lite_v1.0_infer.tar infer_model:../inference/ diff --git a/test_tipc/config/MobileNetV3/MobileNetV3_large_x1_0_train_ptq_infer_python.txt b/test_tipc/config/MobileNetV3/MobileNetV3_large_x1_0_train_ptq_infer_python.txt index bec46a73..eb2754a3 100644 --- a/test_tipc/config/MobileNetV3/MobileNetV3_large_x1_0_train_ptq_infer_python.txt +++ b/test_tipc/config/MobileNetV3/MobileNetV3_large_x1_0_train_ptq_infer_python.txt @@ -31,7 +31,7 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNe quant_export:tools/export_model.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_quantization.yaml fpgm_export:tools/export_model.py -c ppcls/configs/slim/MobileNetV3_large_x1_0_prune.yaml distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml -o Global.save_inference_dir=./deploy/models/MobileNetV3_large_x1_0_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/MobileNetV3/MobileNetV3_large_x1_0.yaml -o Global.save_inference_dir=./MobileNetV3_large_x1_0_infer export2:null pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV3_large_x1_0_infer.tar infer_model:../inference/ diff --git a/test_tipc/config/PPHGNet/PPHGNet_small_train_ptq_infer_python.txt b/test_tipc/config/PPHGNet/PPHGNet_small_train_ptq_infer_python.txt index 757bf2ab..f832321c 100644 --- a/test_tipc/config/PPHGNet/PPHGNet_small_train_ptq_infer_python.txt +++ b/test_tipc/config/PPHGNet/PPHGNet_small_train_ptq_infer_python.txt @@ -31,9 +31,9 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/PPHGNet/PPHGNet_smal quant_export:null fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPHGNet/PPHGNet_small.yaml -o Global.save_inference_dir=./deploy/models/PPHGNet_small_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPHGNet/PPHGNet_small.yaml -o Global.save_inference_dir=./PPHGNet_small_infer export2:null -pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/PPHGNet_tiny_infer.tar +pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/PPHGNet_small_infer.tar infer_model:../inference/ infer_export:True infer_quant:Fasle diff --git a/test_tipc/config/PPLCNet/PPLCNet_x1_0_train_ptq_infer_python.txt b/test_tipc/config/PPLCNet/PPLCNet_x1_0_train_ptq_infer_python.txt index 7c098f1a..f58b97ea 100644 --- a/test_tipc/config/PPLCNet/PPLCNet_x1_0_train_ptq_infer_python.txt +++ b/test_tipc/config/PPLCNet/PPLCNet_x1_0_train_ptq_infer_python.txt @@ -31,7 +31,7 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_0 quant_export:null fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_0.yaml -o Global.save_inference_dir=./deploy/models/PPLCNet_x1_0_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPLCNet/PPLCNet_x1_0.yaml -o Global.save_inference_dir=./PPLCNet_x1_0_infer export2:null pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/PPLCNet_x1_0_infer.tar infer_model:../inference/ diff --git a/test_tipc/config/PPLCNetV2/PPLCNetV2_base_train_ptq_infer_python.txt b/test_tipc/config/PPLCNetV2/PPLCNetV2_base_train_ptq_infer_python.txt index bf61b83c..e88891c2 100644 --- a/test_tipc/config/PPLCNetV2/PPLCNetV2_base_train_ptq_infer_python.txt +++ b/test_tipc/config/PPLCNetV2/PPLCNetV2_base_train_ptq_infer_python.txt @@ -31,7 +31,7 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/PPLCNetV2/PPLCNetV2_ quant_export:null fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPLCNetV2/PPLCNetV2_base.yaml -o Global.save_inference_dir=./deploy/models/PPLCNetV2_base_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/PPLCNetV2/PPLCNetV2_base.yaml -o Global.save_inference_dir=./PPLCNetV2_base_infer export2:null pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/PPLCNetV2_base_infer.tar infer_model:../inference/ diff --git a/test_tipc/config/ResNet/ResNet50_vd_train_ptq_infer_python.txt b/test_tipc/config/ResNet/ResNet50_vd_train_ptq_infer_python.txt index 7183237c..a7d67089 100644 --- a/test_tipc/config/ResNet/ResNet50_vd_train_ptq_infer_python.txt +++ b/test_tipc/config/ResNet/ResNet50_vd_train_ptq_infer_python.txt @@ -31,9 +31,9 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.y quant_export:null fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml -o Global.save_inference_dir=./deploy/models/ResNet50_vd_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/ResNet/ResNet50_vd.yaml -o Global.save_inference_dir=./ResNet50_vd_infer export2:null -pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet50_vd_pretrained.pdparams +pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/ResNet50_vd_infer.tar infer_model:../inference/ infer_export:True infer_quant:Fasle diff --git a/test_tipc/config/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_ptq_infer_python.txt b/test_tipc/config/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_ptq_infer_python.txt index 7d250dce..5f05ccfd 100644 --- a/test_tipc/config/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_ptq_infer_python.txt +++ b/test_tipc/config/SwinTransformer/SwinTransformer_tiny_patch4_window7_224_train_ptq_infer_python.txt @@ -31,7 +31,7 @@ norm_export:tools/export_model.py -c ppcls/configs/ImageNet/SwinTransformer/Swin quant_export:null fpgm_export:null distill_export:null -kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/SwinTransformer/SwinTransformer_tiny_patch4_window7_224.yaml -o Global.save_inference_dir=./deploy/models/SwinTransformer_tiny_patch4_window7_224_kl_quant_infer +kl_quant:deploy/slim/quant_post_static.py -c ppcls/configs/ImageNet/SwinTransformer/SwinTransformer_tiny_patch4_window7_224.yaml -o Global.save_inference_dir=./SwinTransformer_tiny_patch4_window7_224_infer export2:null pretrained_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/SwinTransformer_tiny_patch4_window7_224_infer.tar infer_model:../inference/ -- GitLab