Closed guliashvili closed 6 years ago
I think your model uses pitch features. Try adding add-pitch=true online-pitch-config=demo/conf/online_pitch.conf to kaldinnet2onlinedecoder parameters in transcribe-audio.s.
Thanks @alumae . It solved my problem
@alumae Hi, I met the same problem in kaldi-gstreamer-server. I trained my model with mfcc+pitch features. However when decoding it has this error:
ERROR ([5.2.128~1400-2553]:DecodableNnetLoopedOnlineBase():decodable-online-looped.cc:45) Input feature dimension mismatch: got 40 but network expects 43
This is my online.conf:
--feature-type=mfcc
--mfcc-config=/home/x/xiaochan/kaldi2/egs/aidatatang_200zh/s5/chain_online_17nov/conf/mfcc.conf
--ivector-extraction-config=/home/xiaochan/kaldi/egs/aidatatang_200zh/s5/chain_online_17nov/conf/ivector_extractor.conf
--add-pitch=true
--online-pitch-config=/home/xiaochan/kaldi/egs/aidatatang_200zh/s5/chain_online_17nov/conf/online_pitch.conf
--endpoint.silence-phones=1:2:3:4
Can anybody help me?
@alumae Hi, I met the same problem in kaldi-gstreamer-server. I trained my model with mfcc+pitch features. However when decoding it has this error:
ERROR ([5.2.128~1400-2553]:DecodableNnetLoopedOnlineBase():decodable-online-looped.cc:45) Input feature dimension mismatch: got 40 but network expects 43
This is my online.conf:
--feature-type=mfcc --mfcc-config=/home/x/xiaochan/kaldi2/egs/aidatatang_200zh/s5/chain_online_17nov/conf/mfcc.conf --ivector-extraction-config=/home/xiaochan/kaldi/egs/aidatatang_200zh/s5/chain_online_17nov/conf/ivector_extractor.conf --add-pitch=true --online-pitch-config=/home/xiaochan/kaldi/egs/aidatatang_200zh/s5/chain_online_17nov/conf/online_pitch.conf --endpoint.silence-phones=1:2:3:4
Can anybody help me?
I solve this by adding
add-pitch:true
online-pitch-config: path/to/online_pitch.conf
to my yaml file
Hi, I'm trying to use this project for kaldi nnet3 model. Here is most of the part(excluding model) uploaded. https://github.com/guliashvili/gst-kaldi
However I get following error.
Can anyone help me?
This is whole project tree