5 #include "../InferenceTest.hpp" 6 #include "../ImagePreprocessor.hpp" 9 int main(
int argc,
char* argv[])
11 int retVal = EXIT_FAILURE;
15 std::vector<ImageSet> imageSet =
53 retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
54 argc, argv,
"inception_v3_2016_08_28_frozen.pb",
true,
55 "input",
"InceptionV3/Predictions/Reshape_1", { 0, 1, 2, },
56 [&imageSet](
const char* dataDir,
const ModelType&) {
57 return DatabaseType(dataDir, 299, 299, imageSet);
61 catch (
const std::exception& e)
66 std::cerr <<
"WARNING: TfInceptionV3-Armnn: An error has occurred when running " 67 "the classifier inference tests: " << e.what() << std::endl;
int main(int argc, char *argv[])
Parses a directed acyclic graph from a tensorflow protobuf file.