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

[JAVA] OrtException: Unexpected number of inputs, expected [1,3) found 4 #530

Open
renaudcerrato opened this issue Aug 25, 2024 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@renaudcerrato
Copy link

Trying to use your Java example on Android but I'm getting the error above.

https://github.com/snakers4/silero-vad/blob/master/examples/java-example/src/main/java/org/example/SlieroVadOnnxModel.java#L153

Looks like the example is out of date? The other example is using 3 inputs instead:

https://github.com/snakers4/silero-vad/blob/master/examples/java-wav-file-example/src/main/java/org/example/SileroVadOnnxModel.java#L210

@renaudcerrato renaudcerrato added the help wanted Extra attention is needed label Aug 25, 2024
@snakers4
Copy link
Owner

The community java example has not been updated for v5. A PR would be appreciated.

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