From f8618b75a9bbdde75f23b42111861f8c672809ad Mon Sep 17 00:00:00 2001 From: Vladislav Volkov Date: Fri, 24 Sep 2021 11:07:14 +0300 Subject: [PATCH] benchmark_app incorrectly fills in the inputs for cached models (#7535) --- inference-engine/samples/benchmark_app/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inference-engine/samples/benchmark_app/main.cpp b/inference-engine/samples/benchmark_app/main.cpp index 9120ce7136e..2f08f790881 100644 --- a/inference-engine/samples/benchmark_app/main.cpp +++ b/inference-engine/samples/benchmark_app/main.cpp @@ -391,6 +391,12 @@ int main(int argc, char* argv[]) { if (statistics) statistics->addParameters(StatisticsReport::Category::EXECUTION_RESULTS, {{"load network time (ms)", duration_ms}}); + app_inputs_info = getInputsInfo(FLAGS_shape, + FLAGS_layout, + FLAGS_b, + FLAGS_iscale, + FLAGS_imean, + exeNetwork.GetInputsInfo()); if (batchSize == 0) { batchSize = 1; }