Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finetuning a VOSK model #781

Closed
ErnstTmp opened this issue Dec 8, 2021 · 2 comments
Closed

Finetuning a VOSK model #781

ErnstTmp opened this issue Dec 8, 2021 · 2 comments

Comments

@ErnstTmp
Copy link

ErnstTmp commented Dec 8, 2021

I tried to run the fine-tuning script as you suggested in Issue #773, but I could not finish it since L.fst was missing. Also, it seems to require the alignments.
align_lats.sh also seems to fail. The error messages are this:

Stage 5
Align the new dataset with source NN
Wed Dec 8 22:19:16 CET 2021

steps/nnet3/align_lats.sh --cmd utils/run.pl --nj 8 --acoustic-scale 1.0 --scale-opts --transition-scale=1.0 --self-loop-scale=1.0 --online-ivector-dir exp/nnet3_chain/ivectors_finetune_sp_vp_hires --generate_ali_from_lats true data/finetune_sp_vp_hires data/lang ./exp/model_src_dir exp/nnet3_chain/lats_finetune_sp_vp_hires
steps/nnet2/check_ivectors_compatible.sh: WARNING: One of the directories do not contain iVector ID.
steps/nnet2/check_ivectors_compatible.sh: WARNING: That means it's you who's reponsible for keeping
steps/nnet2/check_ivectors_compatible.sh: WARNING: the directories compatible
steps/nnet3/align_lats.sh: no such file data/lang/L.fst

In the beginning of run_finetune_tdnn_1a_daanzu.sh it says that these files are needed:

tree_dir (tree final.mdl ali.*.gz phones.txt)
lang_dir (oov.int L.fst words.txt phones.txt phones/disambig.int)
conf_dir (mfcc.conf mfcc_hires.conf)

Missing are in the vosk model the files Ali*.gz and L.fst. How can I overcome this?

Thanks, Ernst

@LuggerMan
Copy link

#185 LIMBO, you are welcome

@nshmyrev
Copy link
Collaborator

nshmyrev commented Dec 9, 2021

Yeah, lets discuss this in #185

@nshmyrev nshmyrev closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants