From 9245804e412d5fe556f7b7247fb671eb54e21139 Mon Sep 17 00:00:00 2001 From: cuicheng01 Date: Thu, 23 Sep 2021 02:23:44 +0000 Subject: [PATCH] Update GeneralRecognition_LCNet_x2_5.yaml --- .../GeneralRecognition_LCNet_x2_5.yaml | 31 ++----------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/ppcls/configs/GeneralRecognition/GeneralRecognition_LCNet_x2_5.yaml b/ppcls/configs/GeneralRecognition/GeneralRecognition_LCNet_x2_5.yaml index 3c30488b..a7576b74 100644 --- a/ppcls/configs/GeneralRecognition/GeneralRecognition_LCNet_x2_5.yaml +++ b/ppcls/configs/GeneralRecognition/GeneralRecognition_LCNet_x2_5.yaml @@ -97,7 +97,7 @@ DataLoader: dataset: name: VeriWild image_root: ./dataset/Aliproduct/ - cls_label_path: ./dataset/Aliproduct/test_list.txt + cls_label_path: ./dataset/Aliproduct/val_list.txt transform_ops: - DecodeImage: to_rgb: True @@ -122,7 +122,7 @@ DataLoader: dataset: name: VeriWild image_root: ./dataset/Aliproduct/ - cls_label_path: ./dataset/Aliproduct/test_list.txt + cls_label_path: ./dataset/Aliproduct/val_list.txt transform_ops: - DecodeImage: to_rgb: True @@ -143,32 +143,7 @@ DataLoader: num_workers: 4 use_shared_memory: True -Infer: - infer_imgs: docs/images/whl/demo.jpg - batch_size: 10 - transforms: - - DecodeImage: - to_rgb: True - channel_first: False - - ResizeImage: - resize_short: 256 - - CropImage: - size: 224 - - NormalizeImage: - scale: 1.0/255.0 - mean: [0.485, 0.456, 0.406] - std: [0.229, 0.224, 0.225] - order: '' - - ToCHWImage: - PostProcess: - name: Topk - topk: 5 - class_id_map_file: ppcls/utils/imagenet1k_label_list.txt - Metric: - Train: - - TopkAcc: - topk: [1, 5] Eval: - - TopkAcc: + - Recallk: topk: [1, 5] -- GitLab