From edb8b2ec42624ec27c37bc1b3d345ef0c97c024c Mon Sep 17 00:00:00 2001 From: FinnWilliamsArm Date: Wed, 29 May 2019 13:42:37 +0100 Subject: IVGCVSW-3182 Corrected expected model predictions * Changed expected predictions for TfLiteVGG16Quantized-Armnn.cpp * Changed expected predictions for TfLiteMobileNetQuantizedSoftmax-Armnn Change-Id: I3fe0bd3f6e44655b14b10887bc40fb0df31f81c8 Signed-off-by: FinnWilliamsArm --- .../TfLiteMobileNetQuantizedSoftmax-Armnn.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp') diff --git a/tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp b/tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp index 70828498df..f193a9870a 100644 --- a/tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp +++ b/tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp @@ -14,11 +14,13 @@ int main(int argc, char* argv[]) try { // Coverity fix: The following code may throw an exception of type std::length_error. + // The model we are using incorrectly classifies the images + // But can still be used for benchmarking the layers. std::vector imageSet = { - {"Dog.jpg", 795}, + {"Dog.jpg", 789}, {"Cat.jpg", 592}, - {"shark.jpg", 436}, + {"shark.jpg", 755}, }; armnn::TensorShape inputTensorShape({ 1, 128, 128, 3 }); -- cgit v1.2.1