From 7d0a3dbf24da2a36abdee6be0fb081b569c9b41d Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Thu, 17 Aug 2023 19:50:56 +0000 Subject: [PATCH] metrics: Fix check results for tensorflow benchmark This PR fixes the check results for tensorflow benchmark now that we change the name of the test. Fixes #7684 Signed-off-by: Gabriela Cervantes (cherry picked from commit e8a511934355c7a0014c8fe714d14c35cf12f1f2) --- .../ci_worker/checkmetrics-json-clh-kata-metric8.toml | 8 ++++---- .../ci_worker/checkmetrics-json-qemu-kata-metric8.toml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml index 3e71b7e747..98bb177520 100644 --- a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml +++ b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml @@ -73,26 +73,26 @@ minpercent = 20.0 maxpercent = 20.0 [[metric]] -name = "tensorflow" +name = "tensorflow_nhwc" type = "json" description = "tensorflow resnet model" # Min and Max values to set a 'range' that # the median of the CSV Results data must fall # within (inclusive) -checkvar = ".\"tensorflow\".Results | .[] | .resnet.Result" +checkvar = ".\"tensorflow_nhwc\".Results | .[] | .resnet.Result" checktype = "mean" midval = 3566.0 minpercent = 20.0 maxpercent = 20.0 [[metric]] -name = "tensorflow" +name = "tensorflow_nhwc" type = "json" description = "tensorflow alexnet model" # Min and Max values to set a 'range' that # the median of the CSV Results data must fall # within (inclusive) -checkvar = ".\"tensorflow\".Results | .[] | .alexnet.Result" +checkvar = ".\"tensorflow_nhwc\".Results | .[] | .alexnet.Result" checktype = "mean" midval = 98.0 minpercent = 20.0 diff --git a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-qemu-kata-metric8.toml b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-qemu-kata-metric8.toml index d615db0b39..98b7bce04a 100644 --- a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-qemu-kata-metric8.toml +++ b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-qemu-kata-metric8.toml @@ -73,26 +73,26 @@ minpercent = 20.0 maxpercent = 20.0 [[metric]] -name = "tensorflow" +name = "tensorflow_nhwc" type = "json" description = "tensorflow resnet model" # Min and Max values to set a 'range' that # the median of the CSV Results data must fall # within (inclusive) -checkvar = ".\"tensorflow\".Results | .[] | .resnet.Result" +checkvar = ".\"tensorflow_nhwc\".Results | .[] | .resnet.Result" checktype = "mean" midval = 3546.0 minpercent = 20.0 maxpercent = 20.0 [[metric]] -name = "tensorflow" +name = "tensorflow_nhwc" type = "json" description = "tensorflow alexnet model" # Min and Max values to set a 'range' that # the median of the CSV Results data must fall # within (inclusive) -checkvar = ".\"tensorflow\".Results | .[] | .alexnet.Result" +checkvar = ".\"tensorflow_nhwc\".Results | .[] | .alexnet.Result" checktype = "mean" midval = 98.0 minpercent = 20.0