Skip to content

Commit

Permalink
Merge pull request #29989 from hqucms/patch-1
Browse files Browse the repository at this point in the history
Suppress warnings from ONNXRuntime
  • Loading branch information
cmsbuild committed May 28, 2020
2 parents f5e9b44 + 1978626 commit 58df8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/ONNXRuntime/src/ONNXRuntime.cc
Expand Up @@ -19,7 +19,7 @@ namespace cms::Ort {

using namespace ::Ort;

const Env ONNXRuntime::env_(ORT_LOGGING_LEVEL_WARNING, "");
const Env ONNXRuntime::env_(ORT_LOGGING_LEVEL_ERROR, "");

ONNXRuntime::ONNXRuntime(const std::string& model_path, const SessionOptions* session_options) {
// create session
Expand Down

0 comments on commit 58df8d1

Please sign in to comment.