Update 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]
