Skip to content
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. #495

Closed
NathanJHLee opened this issue Jul 10, 2024 · 5 comments
Closed
Assignees
Labels
help wanted Extra attention is needed

Comments

@NathanJHLee
Copy link

❓ Questions and Help

We have a wiki available for our users. Please make sure you have checked it out first.

Hi snakers4.
I tried your new VAD version to run.
But it seem same error as bleow.

terminate called after throwing an instance of 'Ort::Exception'
what(): Load model from silero_vad.onnx failed:Protobuf parsing failed.
Aborted (core dumped)

I followed your instruction.
My env is

docker gcc:12.2.0-bullseye

and I modified some line
//std::wstring path = L"silero_vad.onnx";
std::string path = "silero_vad.onnx";

std::wstring -> std::string

$du -hs silero_vad.onnx
260K silero_vad.onnx

please check my problem.
Thank you.

@NathanJHLee NathanJHLee added the help wanted Extra attention is needed label Jul 10, 2024
@NathanJHLee
Copy link
Author

I asked it before release v5 vad.

#453

@snakers4
Copy link
Owner

Hi, the only idea that I have is that the file is somehow corrupted on download.
You can check the md5sum of the ONNX file

ad78afa8b67a4f24c1201d7dd2f65bb1 silero_vad.onnx

@NathanJHLee
Copy link
Author

asr@809b1e96db7b:~/silero-vad/examples/cpp$ md5sum silero_vad.onnx
b
f5e8259c8beafe5ab5fb4dc1d0b2349 silero_vad.onnx

I got different hash value. Where can i find newer onnx model? any url?

@snakers4
Copy link
Owner

The model is in the repo

@NathanJHLee
Copy link
Author

Thank you for ur help!
I got a right onnx model and it works fine for me.
Thanks a lot!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants