IVGCVSW-3182 Corrected expected model predictions
authorFinnWilliamsArm <Finn.Williams@arm.com>
Wed, 29 May 2019 12:42:37 +0000 (13:42 +0100)
committerFinnWilliamsArm <Finn.Williams@arm.com>
Thu, 30 May 2019 09:22:32 +0000 (10:22 +0100)
 * Changed expected predictions for TfLiteVGG16Quantized-Armnn.cpp

 * Changed expected predictions for TfLiteMobileNetQuantizedSoftmax-Armnn

Change-Id: I3fe0bd3f6e44655b14b10887bc40fb0df31f81c8
Signed-off-by: FinnWilliamsArm <Finn.Williams@arm.com>
tests/TfLiteMobileNetQuantizedSoftmax-Armnn/TfLiteMobileNetQuantizedSoftmax-Armnn.cpp
tests/TfLiteVGG16Quantized-Armnn/TfLiteVGG16Quantized-Armnn.cpp

index 7082849..f193a98 100644 (file)
@@ -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> imageSet =
                 {
-                        {"Dog.jpg", 795},
+                        {"Dog.jpg", 789},
                         {"Cat.jpg", 592},
-                        {"shark.jpg", 436},
+                        {"shark.jpg", 755},
                 };
 
         armnn::TensorShape inputTensorShape({ 1, 128, 128, 3 });
index 2084d2d..030f01c 100644 (file)
@@ -16,11 +16,11 @@ int main(int argc, char* argv[])
         // Coverity fix: The following code may throw an exception of type std::length_error.
         std::vector<ImageSet> imageSet =
         {
-            // The model we are using incorrectly classifies everything as class 699
+            // The model we are using incorrectly classifies the images
             // But can still be used for benchmarking the layers.
-            {"Dog.jpg", 669},
-            {"Cat.jpg", 669},
-            {"shark.jpg", 669},
+            {"Dog.jpg", 178},
+            {"Cat.jpg", 39},
+            {"shark.jpg", 598},
         };
 
         armnn::TensorShape inputTensorShape({ 1, 224, 224, 3 });