diff options
author | Ferran Balaguer <ferran.balaguer@arm.com> | 2019-02-08 17:09:55 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-02-11 08:48:53 +0000 |
commit | c602f29d57f34b6bf0805d379b2174667d8bf52f (patch) | |
tree | 50cdc475ec8732575c0cf2c56d4ced770215c4a2 /tests/MobileNetSsdInferenceTest.hpp | |
parent | 9c5d33a26ebc4be391ae4da9de584be2e453c78f (diff) | |
download | armnn-c602f29d57f34b6bf0805d379b2174667d8bf52f.tar.gz |
IVGCVSW-2529 DeepSpeech v1 test
Change-Id: Ieb99ac1aa347cee4b28b831753855c4614220648
Diffstat (limited to 'tests/MobileNetSsdInferenceTest.hpp')
-rw-r--r-- | tests/MobileNetSsdInferenceTest.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/MobileNetSsdInferenceTest.hpp b/tests/MobileNetSsdInferenceTest.hpp index cf00966e4b..0091009083 100644 --- a/tests/MobileNetSsdInferenceTest.hpp +++ b/tests/MobileNetSsdInferenceTest.hpp @@ -34,16 +34,16 @@ public: TestCaseResult ProcessResult(const InferenceTestOptions& options) override { - const std::vector<float>& output1 = this->GetOutputs()[0]; // bounding boxes + const std::vector<float>& output1 = boost::get<std::vector<float>>(this->GetOutputs()[0]); // bounding boxes BOOST_ASSERT(output1.size() == k_OutputSize1); - const std::vector<float>& output2 = this->GetOutputs()[1]; // classes + const std::vector<float>& output2 = boost::get<std::vector<float>>(this->GetOutputs()[1]); // classes BOOST_ASSERT(output2.size() == k_OutputSize2); - const std::vector<float>& output3 = this->GetOutputs()[2]; // scores + const std::vector<float>& output3 = boost::get<std::vector<float>>(this->GetOutputs()[2]); // scores BOOST_ASSERT(output3.size() == k_OutputSize3); - const std::vector<float>& output4 = this->GetOutputs()[3]; // number of valid detections + const std::vector<float>& output4 = boost::get<std::vector<float>>(this->GetOutputs()[3]); // valid detections BOOST_ASSERT(output4.size() == k_OutputSize4); // Extract detected objects from output data |