alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
8.17k stars 1.12k forks source link

Rebuilding repository. #1624

Closed YangangCao closed 2 months ago

YangangCao commented 2 months ago

Hi, deat author, I encouter this warning when processing music noise or some bad audio clips. this warning will stuck the programe for a long time, are there any idea to avoid it? I don't care ASR result (becasue usually the result is bad, I have to give up it), and I need stream processing and speed, only care how to skip the warning. I read some other issue, but don't find the solutions

LOG (VoskAPI:RebuildRepository():determinize-lattice-pruned.cc:283) Rebuilding repository.
WARNING (VoskAPI:CheckMemoryUsage():determinize-lattice-pruned.cc:316) Did not reach requested beam in determinize-lattice: size exceeds maximum 50000000 bytes; (repo,arcs,elems) = (26463104,514528,23040336), after rebuilding, repo size was 16992416, effective beam was 5.81556 vs. requested beam 6
WARNING (VoskAPI:OutputArcForce():word-align-lattice.cc:594) Discarding word-ids at the end of a sentence, that don't have alignments.
nshmyrev commented 2 months ago

Ignore it, it is expected

Same as https://github.com/alphacep/vosk-api/issues/1127