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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report - Warnings about Unused Initializers #445

Open
lox opened this issue Apr 16, 2024 · 4 comments
Open

Bug report - Warnings about Unused Initializers #445

lox opened this issue Apr 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working v5 Useful information for V5 release

Comments

@lox
Copy link

lox commented Apr 16, 2024

馃悰 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?

@lox lox added the bug Something isn't working label Apr 16, 2024
@snakers4
Copy link
Owner

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

@lox
Copy link
Author

lox commented Apr 16, 2024

onnxruntime-node 1.14.0.

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

@snakers4 snakers4 added the v5 Useful information for V5 release label Apr 16, 2024
@snakers4
Copy link
Owner

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

@JUiscoming
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v5 Useful information for V5 release
Projects
None yet
Development

No branches or pull requests

3 participants