snakers4 / silero-vad

Silero VAD: pre-trained enterprise-grade Voice Activity Detector
MIT License
3.38k stars 353 forks source link

Bug report - Warnings about Unused Initializers #445

Closed lox closed 1 week ago

lox commented 2 months ago

🐛 Bug

When using onnx runtime in node.js, there are warnings when loading the model:

[0;93m2024-03-03 21:57:12.462000 [W:onnxruntime:, graph.cc:3593 CleanUnusedInitializersAndNodeArgs] Removing initializer '140'. It is not used by any node and should be removed from the model.

Is the an issue with the model, or is this an onnxruntime issue?

snakers4 commented 2 months ago

Which onnx-runtime version is it? Does the model work as intended?

lox commented 2 months ago

onnxruntime-node 1.14.0.

Yup, the model works well. Discovered via https://github.com/ricky0123/vad/issues/88, but I can reproduce just by loading the model with onnxruntime-node.

snakers4 commented 2 months ago

Let's pin it and check with a new model when it gets released. Looks like some onnx-runtime quirk.

JUiscoming commented 2 months ago

if you don't want to see this message, just add this command, onnxruntime.set_default_logger_severity(3) it will suppress warning message.

snakers4 commented 1 week ago

The new VAD version was released just now - https://github.com/snakers4/silero-vad/issues/2#issuecomment-2195433115

It was packed into ONNX with opset 16

It the issue still persists please open another issue