aboutsummaryrefslogtreecommitdiff
path: root/tests/CaffeInception_BN-Armnn
diff options
context:
space:
mode:
authortelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
committertelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
commit4fcda0101ec3d110c1d6d7bee5c83416b645528a (patch)
treec9a70aeb2887006160c1b3d265c27efadb7bdbae /tests/CaffeInception_BN-Armnn
downloadarmnn-4fcda0101ec3d110c1d6d7bee5c83416b645528a.tar.gz
Release 18.02
Change-Id: Id3c11dc5ee94ef664374a988fcc6901e9a232fa6
Diffstat (limited to 'tests/CaffeInception_BN-Armnn')
-rw-r--r--tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp19
-rw-r--r--tests/CaffeInception_BN-Armnn/Validation.txt1000
2 files changed, 1019 insertions, 0 deletions
diff --git a/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp b/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp
new file mode 100644
index 0000000000..557a3b00f4
--- /dev/null
+++ b/tests/CaffeInception_BN-Armnn/CaffeInception_BN-Armnn.cpp
@@ -0,0 +1,19 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// See LICENSE file in the project root for full license information.
+//
+#include "../InferenceTest.hpp"
+#include "../ImageNetDatabase.hpp"
+#include "armnnCaffeParser/ICaffeParser.hpp"
+
+int main(int argc, char* argv[])
+{
+ std::vector<ImageSet> imageSet =
+ {
+ {"shark.jpg", 3694}
+ };
+ return armnn::test::ClassifierInferenceTestMain<ImageNetDatabase, armnnCaffeParser::ICaffeParser>(
+ argc, argv, "Inception-BN-batchsize1.caffemodel", true,
+ "data", "softmax", { 0 },
+ [&imageSet](const char* dataDir) { return ImageNetDatabase(dataDir, 224, 224, imageSet); });
+}
diff --git a/tests/CaffeInception_BN-Armnn/Validation.txt b/tests/CaffeInception_BN-Armnn/Validation.txt
new file mode 100644
index 0000000000..f6040137d8
--- /dev/null
+++ b/tests/CaffeInception_BN-Armnn/Validation.txt
@@ -0,0 +1,1000 @@
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694
+3694