From ca225f0ab9aac74ccc7c62cfcf46c95f7715b2ee Mon Sep 17 00:00:00 2001 From: James Conroy Date: Tue, 18 Sep 2018 17:06:44 +0100 Subject: IVGCVSW-1822: Fix CaffeYolo-Armnn error reporting * Changed message to 'Prediction for test case is incorrect: Expected () but predicted ()' Change-Id: Ie54b70683bf5bb26de2f2a6bcf4a162c99ba5474 --- tests/YoloInferenceTest.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/YoloInferenceTest.hpp') diff --git a/tests/YoloInferenceTest.hpp b/tests/YoloInferenceTest.hpp index 6b40d51785..5e2a4820fa 100644 --- a/tests/YoloInferenceTest.hpp +++ b/tests/YoloInferenceTest.hpp @@ -146,8 +146,8 @@ public: if (detectedObject.m_Class != expectedDetection.m_Class) { BOOST_LOG_TRIVIAL(error) << "Prediction for test case " << this->GetTestCaseId() << - " (" << detectedObject.m_Class << ")" << - " is incorrect (should be " << expectedDetection.m_Class << ")"; + " is incorrect: Expected (" << expectedDetection.m_Class << ")" << + " but predicted (" << detectedObject.m_Class << ")"; return TestCaseResult::Failed; } -- cgit v1.2.1