Try to avoid ONNX issue

This commit is contained in:
Ilya Churaev 2022-10-27 13:26:24 +04:00 committed by GitHub
parent 3ff4a57276
commit 9c5bd7e7fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
//
#include <google/protobuf/stubs/logging.h>
#include <fstream>
#include <input_model.hpp>
#include <onnx_import/onnx.hpp>
@ -35,10 +33,6 @@ ONNX_FRONTEND_C_API void* GetFrontEndData() {
res->m_creator = []() {
return std::make_shared<FrontEnd>();
};
#ifndef OPENVINO_DEBUG_ENABLE
// disable protobuf logging
google::protobuf::SetLogHandler(nullptr);
#endif
return res;
}