You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicated schema? Must because you compiled some ONNX Runtime's dependencies to shared lib(instead of static lib). For example, protobuf. The Homebrew receipt is not maintained by us. Sorry I don't have a Mac. I cannot help much.
Besides, we build ONNX with cmake option "ONNX_DISABLE_STATIC_REGISTRATION=ON". If you used a prebuilt ONNX library from somewhere else, unlikely it was built in such a way. Then it would cause a conflict when registering schemas.
Describe the issue
When running inference in C++ using ONNX Runtime, I encountered the following error:
Schema error: Trying to register schema with name ...
Additionally, the inference results were incorrect, even though the same model worked perfectly on Python with ONNX Runtime.
To reproduce
brew install onnx onnxruntime
Urgency
No response
Platform
Mac
OS Version
Sequoia 15.2
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
[email protected], onnxruntime-1.20.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: