diff --git a/inference-engine/src/gna_plugin/gna_plugin.cpp b/inference-engine/src/gna_plugin/gna_plugin.cpp index 2f257ba4fb0bc1..fb9f406446e055 100644 --- a/inference-engine/src/gna_plugin/gna_plugin.cpp +++ b/inference-engine/src/gna_plugin/gna_plugin.cpp @@ -1612,7 +1612,7 @@ InferenceEngine::IExecutableNetworkInternal::Ptr GNAPlugin::ImportNetwork(std::i // If scale factors are defined in configuration we still need to use them instead of imported values, // for example to change the scale factors for the old models. if (!config.inputScaleFactors.empty()) { - IE_ASSERT(config.inputScaleFactors.size() == inputsDesc->inputScaleFactors.size()); + IE_ASSERT(config.inputScaleFactors.size() <= inputsDesc->inputScaleFactors.size()); for (size_t i = 0; i < config.inputScaleFactors.size(); ++i) { if (config.inputScaleFactors[i] != GNAPluginNS::kScaleFactorDefault) { gnalog() << "[Import Network] Using input scale factor defined in configuration for input " << i << std::endl;