fix 79520 (#10449)
This commit is contained in:
@@ -53,7 +53,7 @@ int main(int argc, char* argv[]) {
|
||||
// try to find it.
|
||||
ov::NodeVector ops = model->get_ops();
|
||||
auto it = std::find_if(ops.begin(), ops.end(), [](std::shared_ptr<ov::Node> node) {
|
||||
return node->get_type_info() == ngraph::op::DetectionOutput::get_type_info_static();
|
||||
return node->get_type_info().name == ngraph::op::DetectionOutput::get_type_info_static().name;
|
||||
});
|
||||
if (it == ops.end()) {
|
||||
throw std::logic_error("model does not contain DetectionOutput layer");
|
||||
|
||||
Reference in New Issue
Block a user