twgo / siann1-hak8_boo5-hing5

聲學模型訓練
MIT License
1 stars 1 forks source link

8K 實驗中斷 #43

Open leo424y opened 6 years ago

leo424y commented 6 years ago

https://jenkins.iis.sinica.edu.tw/job/siann1-hak8_boo5-hing5/94/console

run.pl: 4 / 4 failed, log is in mfcc/log/data/train_dev/make_mfcc_train_dev.*.log

突然發現跟 data/train_dev 有關

我需要手動去改裡面的什麼嗎

這個script 只有改 data/train wav.scp 詳 https://github.com/twgo/siann1-hak8_boo5-hing5/blob/8134226bf66961d8f7dcc17911d8025ed684ac4d/Dockerfile#L83

sih4sing5hong5 commented 6 years ago

steps/make_mfcc.sh [info]: segments file exists: using that. run.pl: 4 / 4 failed, log is in mfcc/log/data/train_dev/make_mfcc_train_dev.*.log

直接入去docker,走一擺,看log

leo424y commented 6 years ago

好,我下斷點進機器試

leo424y commented 6 years ago

conf 還要多加一個 --allow_downsample=true 已解

ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow downsampling the waveform).

root@2031658d0048:/usr/local/kaldi/egs/taiwanese/s5c/data/mfcc_log/train# head -100 make_mfcc_train.1.log
# extract-segments scp,p:data/train/wav.scp data/mfcc_log/train/segments.1 ark:- | compute-mfcc-feats --verbose=2 --config=conf/mfcc.conf ark:- ark:- | copy-feats --compress=true ark:- ark,scp:/usr/local/kaldi/egs/taiwanese/s5c/data/mfcc/train/raw_mfcc_train.1.ark,/usr/local/kaldi/egs/taiwanese/s5c/data/mfcc/train/raw_mfcc_train.1.scp
# Started at Fri Jun 22 07:49:36 UTC 2018
#
copy-feats --compress=true ark:- ark,scp:/usr/local/kaldi/egs/taiwanese/s5c/data/mfcc/train/raw_mfcc_train.1.ark,/usr/local/kaldi/egs/taiwanese/s5c/data/mfcc/train/raw_mfcc_train.1.scp
compute-mfcc-feats --verbose=2 --config=conf/mfcc.conf ark:- ark:-
extract-segments scp,p:data/train/wav.scp data/mfcc_log/train/segments.1 ark:-
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000000-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000001-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000002-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000003-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000004-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000005-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start

WARNING (compute-mfcc-feats[5.4.407~1401-aca9]:main():compute-mfcc-feats.cc:144) Failed to compute features for utterance 0000000TW01M0P0000-tong0000006-ku0000000
ERROR (compute-mfcc-feats[5.4.407~1401-aca9]:ComputeFeatures():feat/feature-common-inl.h:41) Waveform and config sample Frequency mismatch: 16000 .vs 8000 ( use --allow_downsample=true option to allow  downsampling the waveform).

[ Stack-Trace: ]
compute-mfcc-feats() [0x5afcf2]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OfflineFeatureTpl<kaldi::MfccComputer>::ComputeFeatures(kaldi::VectorBase<float> const&, float, float, kaldi::Matrix<float>*)
main
__libc_start_main
_start
leo424y commented 6 years ago

https://github.com/twgo/siann1-hak8_boo5-hing5/blob/tw01+tw02_8k/conf/mfcc.conf