alphacep / vosk-api

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

fstdeterminizestar nnet3 model(not chain) #1509

Open YangangCao opened 5 months ago

YangangCao commented 5 months ago

Hi, dear author

when I ran ./local/lookahead/run_lookahead_no_ivector.sh in a nnet3 model to get vosk-like model, it cost all memory(more than 450GB) in server, and killed, it stuck in fstdeterminizestar. And I change nnet3 model to chain model, it become normal. Any idea to fstdeterminizestar nnet3 model or make nnet3 model lookahead?

nshmyrev commented 4 months ago

Yeah, overall determinization is like magic. It can fail sometimes. Some FST experts might help, but unlikely I can suggest you something quick right now, sorry.