From e43ce1c8afc547db82192a48386b0b47781dd5c9 Mon Sep 17 00:00:00 2001 From: gaotingquan Date: Fri, 10 Jun 2022 12:22:14 +0000 Subject: [PATCH] fix: update the path of label name file --- .../PULC/language_classification/MobileNetV3_small_x0_35.yaml | 2 +- ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml | 2 +- .../language_classification/PPLCNet_x1_0_distillation.yaml | 4 ++-- .../PULC/language_classification/PPLCNet_x1_0_search.yaml | 2 +- .../SwinTransformer_tiny_patch4_window7_224.yaml | 2 +- .../PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml | 2 +- ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml | 2 +- .../text_image_orientation/PPLCNet_x1_0_distillation.yaml | 4 ++-- .../PULC/text_image_orientation/PPLCNet_x1_0_search.yaml | 2 +- .../SwinTransformer_tiny_patch4_window7_224.yaml | 2 +- .../PULC/textline_orientation/MobileNetV3_small_x0_35.yaml | 2 +- ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml | 2 +- .../PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml | 2 +- .../PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml | 2 +- .../PULC/textline_orientation/PPLCNet_x1_0_search.yaml | 2 +- .../SwinTransformer_tiny_patch4_window7_224.yaml | 2 +- ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml | 2 +- ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml | 2 +- .../configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml | 2 +- ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml | 2 +- .../traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml | 2 +- 21 files changed, 23 insertions(+), 23 deletions(-) diff --git a/ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml b/ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml index ff6b9427..c3973ff4 100644 --- a/ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml +++ b/ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml @@ -121,7 +121,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/language_classification_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/language_classification_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml index fb4a4306..f704445e 100644 --- a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml +++ b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml @@ -132,7 +132,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/language_classification_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/language_classification_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml index df18a4db..d792c573 100644 --- a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml +++ b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml @@ -152,7 +152,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/language_classification_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/language_classification_label_list.txt Metric: Train: @@ -161,4 +161,4 @@ Metric: topk: [1, 2] Eval: - TopkAcc: - topk: [1, 2] \ No newline at end of file + topk: [1, 2] diff --git a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml index 90b258a9..cf045050 100644 --- a/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml +++ b/ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml @@ -131,7 +131,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/language_classification_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/language_classification_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml b/ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml index 1a1543fb..4e1a45a9 100644 --- a/ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml +++ b/ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml @@ -152,7 +152,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/language_classification_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/language_classification_label_list.txt Metric: Eval: diff --git a/ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml b/ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml index 097e81f7..7eaff976 100644 --- a/ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml +++ b/ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml @@ -121,7 +121,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/text_image_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/text_image_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml index f926061c..c8ded908 100644 --- a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml +++ b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml @@ -132,7 +132,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/text_image_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/text_image_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml index 1a2c2db1..b8fd0b10 100644 --- a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml +++ b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml @@ -152,7 +152,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/text_image_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/text_image_orientation_label_list.txt Metric: Train: @@ -161,4 +161,4 @@ Metric: topk: [1, 2] Eval: - TopkAcc: - topk: [1, 2] \ No newline at end of file + topk: [1, 2] diff --git a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml index 08d6f834..0ba78815 100644 --- a/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml +++ b/ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml @@ -135,7 +135,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/text_image_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/text_image_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml b/ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml index 635a5436..4d123cd4 100644 --- a/ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml +++ b/ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml @@ -149,7 +149,7 @@ Infer: PostProcess: name: Topk topk: 2 - class_id_map_file: ppcls/utils/PULC/text_image_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/text_image_orientation_label_list.txt Metric: Eval: diff --git a/ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml b/ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml index 0806f4ed..04086837 100644 --- a/ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml +++ b/ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml @@ -123,7 +123,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml index b0e30bbf..3ab3657d 100644 --- a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml +++ b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml @@ -132,7 +132,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml index fabf6940..17b9cbb1 100644 --- a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml +++ b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml @@ -121,7 +121,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml index 86bbc8b3..2cc57e63 100644 --- a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml +++ b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml @@ -150,7 +150,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml index 34056233..e9e18637 100644 --- a/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml +++ b/ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml @@ -133,7 +133,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml b/ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml index 41fee479..a466d5e0 100644 --- a/ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml +++ b/ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml @@ -153,7 +153,7 @@ Infer: PostProcess: name: Topk topk: 1 - class_id_map_file: ppcls/utils/PULC/textline_orientation_label_list.txt + class_id_map_file: ppcls/utils/PULC_label_list/textline_orientation_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml b/ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml index 50367589..5ebe7441 100644 --- a/ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml +++ b/ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml @@ -120,7 +120,7 @@ Infer: PostProcess: name: Topk topk: 5 - class_id_map_file: dataset/traffic_sign/label_name_id.txt + class_id_map_file: ppcls/utils/PULC_label_list/traffic_sign_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml index 025d7ef2..4cc98b31 100644 --- a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml +++ b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml @@ -137,7 +137,7 @@ Infer: PostProcess: name: Topk topk: 5 - class_id_map_file: dataset/traffic_sign/label_name_id.txt + class_id_map_file: ppcls/utils/PULC_label_list/traffic_sign_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml index 9be452d4..b00c250e 100644 --- a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml +++ b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml @@ -160,7 +160,7 @@ Infer: PostProcess: name: Topk topk: 5 - class_id_map_file: dataset/traffic_sign/label_name_id.txt + class_id_map_file: ppcls/utils/PULC_label_list/traffic_sign_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml index 6c622b0e..bbac87a5 100644 --- a/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml +++ b/ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml @@ -138,7 +138,7 @@ Infer: PostProcess: name: Topk topk: 5 - class_id_map_file: dataset/traffic_sign/label_name_id.txt + class_id_map_file: ppcls/utils/PULC_label_list/traffic_sign_label_list.txt Metric: Train: diff --git a/ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml b/ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml index 5d295e28..680ffe35 100644 --- a/ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml +++ b/ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml @@ -157,7 +157,7 @@ Infer: PostProcess: name: Topk topk: 5 - class_id_map_file: dataset/traffic_sign/label_name_id.txt + class_id_map_file: ppcls/utils/PULC_label_list/traffic_sign_label_list.txt Metric: Train: -- GitLab