-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help / Load model from silero_vad.onnx failed:Protobuf parsing failed. #453
Comments
@NathanJHLee I get same error in Java implementation example. ONNX models is not laodable :/ |
The new VAD version was released just now - #2 (comment). |
Hi snakers4. terminate called after throwing an instance of 'Ort::Exception' My env is docker gcc:12.2.0-bullseye and I modified some line std::wstring -> std::string $du -hs silero_vad.onnx please check my problem. |
❓ Questions and Help
We have a wiki available for our users. Please make sure you have checked it out first.
Hi, My name is Nathan and I am follwing your instruction to build testfile for "Stream example in C++"
I got some error.
My env is Centos7 and I installed gcc 12.2.0 myself.
I faced few error cause mismatch between window and linux. So finally I compiled test binary and run.
But error occurred as below.
test wav file is my own thing.
num_channel_ :1
sample_rate_ :16000
bits_per_sample_:16
num_samples :403840
num_data_size :807680
terminate called after throwing an instance of 'Ort::Exception'
what(): Load model from silero_vad.onnx failed:Protobuf parsing failed.
I downloaded onnx model from here 'https://github.com/ricky0123/vad/blob/master/silero_vad.onnx'
please help me to fix it.
Thank you.
p.s
I tested model loading about 'silero_vad.onnx '
souce as below.
I got same error
"Failed to load the model: Load model from silero_vad.onnx failed:Protobuf parsing failed."
#include
#include "onnxruntime_cxx_api.h"
#include "cpu_provider_factory.h"
int main() {
// Initialize the ONNX Runtime environment
Ort::Env env(ORT_LOGGING_LEVEL_WARNING, "test");
}
The text was updated successfully, but these errors were encountered: