k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, speaker recognition, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript, Flutter, Object Pascal, Lazarus, Rust
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
3.34k stars 389 forks source link

How to disable logs for offline-paraformer-greedy-search-decoder.cc #966

Closed bnuzhouwei closed 4 months ago

bnuzhouwei commented 4 months ago

Each detection write a log in the console, how to disable it!

D:\a\sherpa-onnx\sherpa-onnx\sherpa-onnx\csrc\offline-paraformer-greedy-search-decoder.cc:Decode:70 time stamp for batch: 0, 20 vs 0
csukuangfj commented 4 months ago

please describe which model you are using.

bnuzhouwei commented 4 months ago

please describe which model you are using.

sherpa-onnx-paraformer-trilingual-zh-cantonese-en

csukuangfj commented 4 months ago

Please remove sherpa-onnx\csrc\offline-paraformer-greedy-search-decoder.cc:Decode:70 and re-build.

Or wait our next release.

csukuangfj commented 4 months ago

Fixed in the latest master.