diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-11-26 16:38:31 +0000 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-05 15:35:51 +0000 |
commit | 08446976e3b6ce0e02f22b391b37aacaad181e1a (patch) | |
tree | b57106c6a3e28662adb2592ac3e850a8f19b6ec7 /tests/YoloInferenceTest.hpp | |
parent | a3b31f010004ed397ec04325edf7020984847f21 (diff) | |
download | armnn-08446976e3b6ce0e02f22b391b37aacaad181e1a.tar.gz |
Replace boost logging with simple logger
!referencetests:214319
* Reduces arm nn binary size ~15%
* Also fixed test logging black hole issues
Change-Id: Iba27db304d9a8088fa46aeb0b52225d93bb56bc8
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
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 eb6b22767b..91ea97771c 100644 --- a/tests/YoloInferenceTest.hpp +++ b/tests/YoloInferenceTest.hpp @@ -145,7 +145,7 @@ public: const YoloDetectedObject& detectedObject = *outputIt; if (detectedObject.m_Class != expectedDetection.m_Class) { - BOOST_LOG_TRIVIAL(error) << "Prediction for test case " << this->GetTestCaseId() << + ARMNN_LOG(error) << "Prediction for test case " << this->GetTestCaseId() << " is incorrect: Expected (" << expectedDetection.m_Class << ")" << " but predicted (" << detectedObject.m_Class << ")"; return TestCaseResult::Failed; @@ -157,7 +157,7 @@ public: !m_FloatComparer(detectedObject.m_Box.m_H, expectedDetection.m_Box.m_H) || !m_FloatComparer(detectedObject.m_Confidence, expectedDetection.m_Confidence)) { - BOOST_LOG_TRIVIAL(error) << "Detected bounding box for test case " << this->GetTestCaseId() << + ARMNN_LOG(error) << "Detected bounding box for test case " << this->GetTestCaseId() << " is incorrect"; return TestCaseResult::Failed; } |