How to use trained nnet3 model to do force alignment

482 views
Skip to first unread message

Jackie

unread,
Apr 4, 2019, 3:58:08 AM4/4/19
to kaldi-help
Dear everyone,

              Nowadays, I tried to use a trained nnet3 model to do force alignment, the script I used named align.sh under folder steps/nnet3.
              But there is an error "Neural net expects 'ivector' features with dimension 100 but you provided 0 ", could someone give me some suggestions about what caused this error or how to solve it? 
              Thank you very much in advance!

Astik Biswas

unread,
Apr 4, 2019, 4:56:20 AM4/4/19
to kaldi...@googlegroups.com
Hello,

You need to provide 100-dimensional ivector while doing forced alignment. Your neural network was trained with  ivectors along with acoustic features. Hence it is expecting 100-dimensional i-vector while you are trying to use it for forced alignments.

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/68d3b224-5a4b-431b-84f2-da4f33f25567%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jackie

unread,
Apr 4, 2019, 5:10:14 AM4/4/19
to kaldi-help
Hi Astik,
   
       Thank you very much for your help! I know what you mean, and that's what puzzled me. 
       I prepared an ivecrtor_extract config file for the ivector extractor, according to the error message, it looks like that the ivector feature didn't be extracted, but I don't know why.

在 2019年4月4日星期四 UTC+2上午10:56:20,Astik Biswas写道:
Hello,

You need to provide 100-dimensional ivector while doing forced alignment. Your neural network was trained with  ivectors along with acoustic features. Hence it is expecting 100-dimensional i-vector while you are trying to use it for forced alignments.

On Thu, Apr 4, 2019 at 9:58 AM Jackie <wx19...@gmail.com> wrote:
Dear everyone,

              Nowadays, I tried to use a trained nnet3 model to do force alignment, the script I used named align.sh under folder steps/nnet3.
              But there is an error "Neural net expects 'ivector' features with dimension 100 but you provided 0 ", could someone give me some suggestions about what caused this error or how to solve it? 
              Thank you very much in advance!

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages