Closed mlexplore1122 closed 2 years ago
You don't have conf/model.conf
in your model. It is mandatory. You need to create that file. You can copy from another model.
tks @nshmyrev I have add conf/model.conf from another model. But With my model, I just not using only mfcc, it's also using pitch for feature. So I have file online.conf:
and file online_cmvn.conf:
and the last is file online_pitch.conf I don't know how to copy all conf to file model.conf or need do something for it;'s work. In case I do nothing, Model will failed when running because it's not understand iput is dimension with 40 of mfcc, and 4 of pitch. Thanks
You need to create conf/pitch.conf then as described in https://alphacephei.com/vosk/models#model-structure
tks you. I will try it.
My pitch cofig has same like this. https://github.com/kaldi-asr/kaldi/blob/master/egs/csj/s5/conf/online_pitch.conf And I try move this config to file conf/pitch.conf But it does'nt understand all option in pitch.conf Can you check it @nshmyrev . Tks
Leave just --add-raw-log-pitch and probably --delay
I try to remove each option in list, but the important option is --add-raw-log-pitch=true failed, It's show Invalid option --add-raw-log-pitch=true in config file. If I remove this option, it not show error, but when running, error running show the input feature has dimension is 43, but model expectation 44. So Still can't run this. :(
Ok, so I've just pushed this fix https://github.com/alphacep/vosk-api/commit/ad546a8f1a915ee166407e8d82c8cd2cc9cb8ec0 which should help you. But you need to rebuild the library yourself.
ok, It's work, tks @nshmyrev very much
Hi, I already have model training with nnet3 tdnn_lstm and output model in server has structure like this image: And I try to replace folder: "model-en-us" in assess with my model's file like this image: But when runing it failed: So I wonder, Does vosk support tdnn_lstm, if not, what's wrong with my setup to run own model. Thank you