benchmark_app incorrectly fills in the inputs for cached models (#7535)
This commit is contained in:
parent
002e68b535
commit
f8618b75a9
@ -391,6 +391,12 @@ int main(int argc, char* argv[]) {
|
|||||||
if (statistics)
|
if (statistics)
|
||||||
statistics->addParameters(StatisticsReport::Category::EXECUTION_RESULTS,
|
statistics->addParameters(StatisticsReport::Category::EXECUTION_RESULTS,
|
||||||
{{"load network time (ms)", duration_ms}});
|
{{"load network time (ms)", duration_ms}});
|
||||||
|
app_inputs_info = getInputsInfo<InputInfo::CPtr>(FLAGS_shape,
|
||||||
|
FLAGS_layout,
|
||||||
|
FLAGS_b,
|
||||||
|
FLAGS_iscale,
|
||||||
|
FLAGS_imean,
|
||||||
|
exeNetwork.GetInputsInfo());
|
||||||
if (batchSize == 0) {
|
if (batchSize == 0) {
|
||||||
batchSize = 1;
|
batchSize = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user