From 706abfba2e12a2212df8703b50de5cb79f233440 Mon Sep 17 00:00:00 2001 From: cuicheng01 Date: Tue, 8 Jun 2021 03:24:36 +0000 Subject: [PATCH] update Product yaml --- ppcls/configs/Products/ResNet50_vd_Aliproduct.yaml | 8 ++++---- ppcls/configs/Products/ResNet50_vd_Inshop.yaml | 4 ++-- ppcls/configs/Products/ResNet50_vd_SOP.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ppcls/configs/Products/ResNet50_vd_Aliproduct.yaml b/ppcls/configs/Products/ResNet50_vd_Aliproduct.yaml index 0d440c50..752f04be 100644 --- a/ppcls/configs/Products/ResNet50_vd_Aliproduct.yaml +++ b/ppcls/configs/Products/ResNet50_vd_Aliproduct.yaml @@ -5,9 +5,9 @@ Global: output_dir: "./output/" device: "gpu" class_num: 50030 - save_interval: 10 - eval_during_train: False - eval_interval: 1 + save_interval: 1 + eval_during_train: True + eval_interval: 10 epochs: 120 print_batch_step: 10 use_visualdl: False @@ -58,7 +58,7 @@ DataLoader: dataset: name: "ImageNetDataset" image_root: "./dataset/Aliproduct/" - cls_label_path: "./dataset/Aliproduct/train_list.txt" + cls_label_path: "./dataset/Aliproduct/val_list.txt" transform_ops: - ResizeImage: size: 224 diff --git a/ppcls/configs/Products/ResNet50_vd_Inshop.yaml b/ppcls/configs/Products/ResNet50_vd_Inshop.yaml index 108ab3ea..5d1b1e31 100644 --- a/ppcls/configs/Products/ResNet50_vd_Inshop.yaml +++ b/ppcls/configs/Products/ResNet50_vd_Inshop.yaml @@ -6,8 +6,8 @@ Global: device: "gpu" class_num: 3997 save_interval: 10 - eval_during_train: False - eval_interval: 1 + eval_during_train: True + eval_interval: 10 epochs: 120 print_batch_step: 10 use_visualdl: False diff --git a/ppcls/configs/Products/ResNet50_vd_SOP.yaml b/ppcls/configs/Products/ResNet50_vd_SOP.yaml index a522a79e..4ea9674e 100644 --- a/ppcls/configs/Products/ResNet50_vd_SOP.yaml +++ b/ppcls/configs/Products/ResNet50_vd_SOP.yaml @@ -6,8 +6,8 @@ Global: device: "gpu" class_num: 11319 save_interval: 10 - eval_during_train: False - eval_interval: 1 + eval_during_train: True + eval_interval: 10 epochs: 120 print_batch_step: 10 use_visualdl: False -- GitLab