Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 9 of file OnnxMobileNet-Armnn.cpp.
11 int retVal = EXIT_FAILURE;
15 std::vector<ImageSet> imageSet =
30 retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
32 "mobilenetv2-1.0.onnx",
34 "data",
"mobilenetv20_output_flatten0_reshape0",
36 [&imageSet](
const char* dataDir,
const ModelType&) {
44 {{0.485f, 0.456f, 0.406f}},
45 {{0.229f, 0.224f, 0.225f}},
46 DatabaseType::DataFormat::NCHW);
50 catch (
const std::exception& e)
55 std::cerr <<
"WARNING: OnnxMobileNet-Armnn: An error has occurred when running " 56 "the classifier inference tests: " << e.what() << std::endl;