From: James Conroy Date: Tue, 18 Sep 2018 16:06:44 +0000 (+0100) Subject: IVGCVSW-1822: Fix CaffeYolo-Armnn error reporting X-Git-Tag: submit/tizen/20190109.005305~219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca225f0ab9aac74ccc7c62cfcf46c95f7715b2ee;p=platform%2Fupstream%2Farmnn.git IVGCVSW-1822: Fix CaffeYolo-Armnn error reporting * Changed message to 'Prediction for test case is incorrect: Expected () but predicted ()' Change-Id: Ie54b70683bf5bb26de2f2a6bcf4a162c99ba5474 --- diff --git a/tests/YoloInferenceTest.hpp b/tests/YoloInferenceTest.hpp index 6b40d51..5e2a482 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; }