From 9757725fe4738131d16f37fa99076e824c0a81b8 Mon Sep 17 00:00:00 2001 From: qingqing01 Date: Mon, 8 Oct 2018 15:39:17 +0800 Subject: [PATCH] Change CE KPI type (#1343) * Change CE KPI type for speed. --- fluid/image_classification/_ce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluid/image_classification/_ce.py b/fluid/image_classification/_ce.py index 7ce28803..bda5d88e 100644 --- a/fluid/image_classification/_ce.py +++ b/fluid/image_classification/_ce.py @@ -19,7 +19,7 @@ test_acc_top1_kpi = AccKpi( test_acc_top5_kpi = AccKpi( 'test_acc_top5', 0.02, 0, actived=True, desc='TOP5 ACC') test_cost_kpi = CostKpi('test_cost', 0.02, 0, actived=True, desc='train cost') -train_speed_kpi = AccKpi( +train_speed_kpi = DurationKpi( 'train_speed', 0.05, 0, @@ -38,7 +38,7 @@ test_acc_top5_card4_kpi = AccKpi( 'test_acc_top5_card4', 0.02, 0, actived=True, desc='TOP5 ACC') test_cost_card4_kpi = CostKpi( 'test_cost_card4', 0.02, 0, actived=True, desc='train cost') -train_speed_card4_kpi = AccKpi( +train_speed_card4_kpi = DurationKpi( 'train_speed_card4', 0.05, 0, -- GitLab