[Samples] Enabled oname for imported models (#7227)
This commit is contained in:
parent
059870a3a0
commit
158b630354
@ -719,10 +719,12 @@ int main(int argc, char* argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!FLAGS_m.empty()) {
|
||||||
for (size_t i = 0; i < outputs.size(); i++) {
|
for (size_t i = 0; i < outputs.size(); i++) {
|
||||||
network.addOutput(outputs[i], ports[i]);
|
network.addOutput(outputs[i], ports[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!FLAGS_m.empty()) {
|
if (!FLAGS_m.empty()) {
|
||||||
slog::info << "Loading model to the device" << slog::endl;
|
slog::info << "Loading model to the device" << slog::endl;
|
||||||
executableNet = ie.LoadNetwork(network, deviceStr, genericPluginConfig);
|
executableNet = ie.LoadNetwork(network, deviceStr, genericPluginConfig);
|
||||||
|
Loading…
Reference in New Issue
Block a user