CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

how to utilize Kaldi in Cntk?

Open staplesinLA opened this issue 10 years ago • 7 comments

Is that possible to combine kaldi and cntk together to construct a complete ASR system? Like, kaldi as a feature extrator and decoder, cntk as a DNN trainer in the middle. There is a kaldi2Reader, where to find the efficient usage of it? Thanks a lot!

staplesinLA avatar May 06 '16 11:05 staplesinLA

Hi,

You can use kaldi as feature extractor and decoder. There is a example in the repository: Examples/Speech/Miscellaneous/AMI/train_cntk2.sh

You can also send me email if you find any problem.

yzhang87 avatar May 06 '16 20:05 yzhang87

@yzhang87 thank you very much. I'm not very famaliar with Kaldi and the AMI corpus is so space-cosuming that can't easily implement. I will try to understand the scripts and try to transplant and test the method for my task. thanks!

staplesinLA avatar May 07 '16 19:05 staplesinLA

@staplesinLA ok. I'm not checking this issue page everyday. So if you have any problem plz make sure @my name.

yzhang87 avatar May 07 '16 20:05 yzhang87

@yzhang87 Thank you Yu! I modified train_cntk2.sh ,and it worked! And then I proceed to train_cntk2_smbr.sh . But i can't find "scripts/train_sequence.sh" ,where to find it? 谢谢!

staplesinLA avatar May 15 '16 08:05 staplesinLA

hello guys ,@staplesinLA can you send me your script ? [email protected]

JJMEI avatar Jan 11 '17 07:01 JJMEI

hello, @yzhang87 Recently,i'm tring the example AMI , But there are some questions. I don't find the CNTK2.cntk . Then i change the file, but has errors

CNTK 2.0.beta5.0 (HEAD bf2ce5, Nov 25 2016 15:43:27) on localhost at 2017/01/11 20:13:46

/home/m/cntk/cntk/bin/cntk configFile=/home/m/kaldi/egs/timit/s5/exp_cntk/Base.config configFile=/home/m/kaldi/egs/timit/s5/exp_cntk/CNTK2_ndl_deprecated.cntk DeviceNumber=0 action=TrainDNN ndlfile=/home/m/kaldi/egs/timit/s5/exp_cntk/dnn_6layer.ndl

[CALL STACK] [0x77b8f4]
[0x7cdcc7] void DoCommands (Microsoft::MSR::CNTK::ConfigParameters const&, std::shared_ptrMicrosoft::MSR::CNTK::MPIWrapper const&) + 0xf7 [0x77c125] wmainOldCNTKConfig (int, wchar_t**) + 0x6f5 [0x77e77f] wmain1 (int, wchar_t**) + 0x7f [0x75a428] main + 0xd8 [0x7f7afddccaf5] __libc_start_main + 0xf5 [0x7656ae]
EXCEPTION occurred: DisableLegacyUsage: setting Truncated only in reader section are not allowed. Please move Truncated=true/false to the top level section.

do you give me some suggestions?

JJMEI avatar Jan 11 '17 12:01 JJMEI

Has this issue been resolved? I'm closing it now because it's been 6 months. Feel free to comment and we can reopen it. Thanks!

cha-zhang avatar Jul 11 '17 05:07 cha-zhang