Closed akmitrich closed 1 month ago
@akmitrich try changing std::wstring to std::string in the example code. Onnxruntime C/C++ api uses wchar_t for paths only on windows.
Thanks a lot. This did help me to build example. Also I have to get rid of L"..." string literals in the source code.
I have run test example for my random audio file. Test example works perfectly fine for the aforementioned gcc 12.2.0 and onnxruntime 1.12.0. Even better, it also works as fine for gcc 14.1.0 and recently released onnxruntime 1.18.0.
C++ VAD example
You have a great cpp test example for your VAD model. It is provided with clear explanations. In accordance with README I created a Dockerfile:
which is far from being optimal but it is ok for a quick test.
Failed to compile
During compilation it runs into error:
With the same error it fails to compile in my local Ubuntu environment with other versions of
g++
,onnxruntime
.Need some directions
How to deploy Silero VAD model with C++?