aboutsummaryrefslogtreecommitdiff
path: root/tests/TfInceptionV3-Armnn
diff options
context:
space:
mode:
authorsurmeh01 <surabhi.mehta@arm.com>2018-09-12 16:00:26 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-01 14:56:47 +0100
commitc3b012e51f0351c4f74f33fbb68e0d4bd76a6ea9 (patch)
treede2a763a61ae9e1f4b3afb5bbe63a0f5d2fa5873 /tests/TfInceptionV3-Armnn
parent591cdb7ad9176d43163b340542b0fff470a198ea (diff)
downloadarmnn-c3b012e51f0351c4f74f33fbb68e0d4bd76a6ea9.tar.gz
Added and modified the vanilla tensorflow values for inception and mobilenet
Change-Id: Ib0d59015aa104909f3922f9749e3787e15c7c86e
Diffstat (limited to 'tests/TfInceptionV3-Armnn')
-rw-r--r--tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp b/tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp
index efda22eedc..514003198f 100644
--- a/tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp
+++ b/tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp
@@ -15,8 +15,31 @@ int main(int argc, char* argv[])
std::vector<ImageSet> imageSet =
{
{ "Dog.jpg", 208 },
+ // Top five predictions in tensorflow:
+ // -----------------------------------
+ // 208:golden retriever 0.57466376
+ // 209:Labrador retriever 0.30202731
+ // 853:tennis ball 0.0060001756
+ // 223:kuvasz 0.0053707925
+ // 160:Rhodesian ridgeback 0.0018179063
+
{ "Cat.jpg", 283 },
+ // Top five predictions in tensorflow:
+ // -----------------------------------
+ // 283:tiger cat 0.4667799
+ // 282:tabby, tabby cat 0.32511184
+ // 286:Egyptian cat 0.1038616
+ // 288:lynx, catamount 0.0017019814
+ // 284:Persian cat 0.0011340436
+
{ "shark.jpg", 3 },
+ // Top five predictions in tensorflow:
+ // -----------------------------------
+ // 3:great white shark, white shark, ... 0.98808634
+ // 148:grey whale, gray whale, ... 0.00070245547
+ // 234:Bouvier des Flandres, ... 0.00024639888
+ // 149:killer whale, killer, ... 0.00014115588
+ // 95:hummingbird 0.00011129203
};
armnn::TensorShape inputTensorShape({ 1, 299, 299, 3 });