diff options
author | James Conroy <james.conroy@arm.com> | 2018-09-18 17:06:44 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:56 +0100 |
commit | ca225f0ab9aac74ccc7c62cfcf46c95f7715b2ee (patch) | |
tree | 591d5704abdc32ac1f5facdbd1c86f046d443532 /tests/YoloInferenceTest.hpp | |
parent | b94967bae76196f28a86edc90b4bbe12618e2360 (diff) | |
download | armnn-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/YoloInferenceTest.hpp')
-rw-r--r-- | tests/YoloInferenceTest.hpp | 4 |
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; } |