Shell was not responding when i issued this command.
/data/local/graph_app --flag 299 299 3 1 0 0 1 NULL 0 1 0 inputfile /data/local/tmp/img_299x299.bmp
got description info from helper optargs
Usage: testapp [--flag flagopt] [inputfile [inputfile...]]
flag name type default function
height int 0 Height of the input data. 0 == autodetect-square
width int 0 Width of the input data. 0 == autodetect-square
depth int 3 Depth of the input data
iters int 1 Number of times to run each input
perfdump int 0 Generate performance dump
pmu int 0 Get Performance Monitor Unit information
elementsize int 1 Element Size (uint8==1,float==4)
layer_reorder string NULL Reorder depth layers. ("210" changes RGB to BGR)
pprint_floats int 0 Pretty-Print output as floats
pprint_imagenet int 1 Pretty-print output, getting top 5 values and use imagenet categories
debug int 0 Debug verbosity level. Higher numbers get more verbosity
Did i miss anything, let me know , I used graphinit_med.c
just to check its working and there is no description on what this model does.
thanks,
There is no document on using standalone graph_app, After going through the code got to make it working:
There is still caveat as you can see below logs:
I will update the answer, once I get the standalone app predict the sample image with highest accuracy.