snakers4 / silero-vad

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

ai.onnxruntime.OrtException: Error code - ORT_FAIL - message: Load model from /sdcard/Download/huigu/silero_vad.onnx failed:system error number 13 #461

Closed jesusycs closed 1 week ago

jesusycs commented 2 weeks ago

2024-06-19 17:30:13.119 24041-24041/com.example.digitalhuman E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.digitalhuman, PID: 24041 java.lang.RuntimeException: ai.onnxruntime.OrtException: Error code - ORT_FAIL - message: Load model from /sdcard/Download/huigu/silero_vad.onnx failed:system error number 13

Caused by: ai.onnxruntime.OrtException: Error code - ORT_FAIL - message: Load model from /sdcard/Download/huigu/silero_vad.onnx failed:system error number 13 at ai.onnxruntime.OrtSession.createSession(Native Method) at ai.onnxruntime.OrtSession.(OrtSession.java:74) at ai.onnxruntime.OrtEnvironment.createSession(OrtEnvironment.java:236) at ai.onnxruntime.OrtEnvironment.createSession(OrtEnvironment.java:221) at com.example.digitalhuman.vad.SlieroVadOnnxModel.(SlieroVadOnnxModel.java:40)

snakers4 commented 2 weeks ago

It does not load on Android? Which onnx runtime version do you have? Does it load on your x86 machine with the same version?

snakers4 commented 1 week ago

The new VAD version was released just now - https://github.com/snakers4/silero-vad/issues/2#issuecomment-2195433115. If the issue persists with the new version, can you please open a new issue referring to this one. Many thanks!