silero-vad icon indicating copy to clipboard operation
silero-vad copied to clipboard

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

Open renaudcerrato opened this issue 5 months ago • 1 comments

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 avatar Aug 25 '24 11:08 renaudcerrato