aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames Conroy <james.conroy@arm.com>2018-09-18 17:06:44 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:56 +0100
commitca225f0ab9aac74ccc7c62cfcf46c95f7715b2ee (patch)
tree591d5704abdc32ac1f5facdbd1c86f046d443532 /tests
parentb94967bae76196f28a86edc90b4bbe12618e2360 (diff)
downloadarmnn-ca225f0ab9aac74ccc7c62cfcf46c95f7715b2ee.tar.gz
IVGCVSW-1822: Fix CaffeYolo-Armnn error reporting
* Changed message to 'Prediction for test case <N> is incorrect: Expected (<X>) but predicted (<Y>)' Change-Id: Ie54b70683bf5bb26de2f2a6bcf4a162c99ba5474
Diffstat (limited to 'tests')
-rw-r--r--tests/YoloInferenceTest.hpp4
1 files changed, 2 insertions, 2 deletions
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;
}