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 CaffeResNet-Armnn.cpp.
11 int retVal = EXIT_FAILURE;
15 std::vector<ImageSet> imageSet =
17 {
"ILSVRC2012_val_00000018.JPEG", 21 },
29 retVal = armnn::test::ClassifierInferenceTestMain<DatabaseType, ParserType>(
30 argc, argv,
"ResNet_50_ilsvrc15_model.caffemodel",
true,
31 "data",
"prob", { 0, 1 },
32 [&imageSet](
const char* dataDir,
const ModelType&) {
33 return DatabaseType(dataDir, 224, 224, imageSet);
34 }, &inputTensorShape);
36 catch (
const std::exception& e)
41 std::cerr <<
"WARNING: CaffeResNet-Armnn: An error has occurred when running " 42 "the classifier inference tests: " << e.what() << std::endl;