Plugin not found: Kaldi2Reader.so

Jun 22, 2015 at 7:31 AM
Hello.

I compiled Makefile_kaldi2.gpu and run the following instruction in cntk/bin directory:
./cntk configFile=../Demos/Speech/TrainSimpleTimit.config
In Speech/TrainSimpleTimit.config, I used Kaldi2Reader for readerType as following code:
reader=[
                   readerType=Kaldi2Reader
                    ......
]
And also, I modified features and labels in Speech/TrainSimpleTimit.config file.

but it shows the following error:

...

<<<<<<<<<<<<<<<<<<<< PROCESSED CONFIG WITH ALL VARIABLES RESOLVED <<<<<<<<<<<<<<<<<<<<
command: TimitTrainSimple TimitTestSimple TimitWriteSimple 
precision = float
SimpleNetworkBuilder Using GPU 0
EXCEPTION occurred: Plugin not found: Kaldi2Reader.so
I also check that Kaldi2Reader.so in cntk/bin directory is linked to cntk/bin/x86_64.gpu.release.acml/Kaldi2Reader.so successfully.

How can I treat it??

Best regards,
donghyun.
Jun 22, 2015 at 7:12 PM
Edited Jun 22, 2015 at 7:13 PM
Hi,

You need add it to the LD_LIBRARY_PATH

Here is an example (cn.sh under bin/)
#!/bin/bash

script_dir=$(dirname "$(readlink -f "$0")")

source /scratch/cuda-6.5/setpath.sh
export LD_LIBRARY_PATH=/data/sls/scratch/leoliu/software/kaldi-hostd/src/lib:/usr/users/yzhang87/code/acml/gfortran64/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${script_dir}:$LD_LIBRARY_PATH
${script_dir}/cntk "$@"
let me know if you have any questions.
Jun 28, 2015 at 6:24 AM
Hello.

Thank you for your help.

I could run cntk with Kaldi2Reader.

I have some questions for testing it.
  1. Do I have to use Kaldi's copy-post command for making a mlfFile in Label section of the TrainSimpleTimit.config file?
  2. For a labelMappingFile in Label section of the TrainSimpleTimit.config file, I used Kaldi's phones.txt like this:
<eps> 0
sil 1
aa 2
ae 3
ah 4
ao 5
aw 6
ax 7
ay 8
b 9
ch 10
...
Is it wrong file format?

Best regards,
Donghyun
Jun 28, 2015 at 11:45 PM
Hi,

About how to use Kaldi2Reader you can check the DOCUMENTATION.txt under DataReader/Kaldi2Reader or makefile_kaldi2.gpu file about how to use it.

I also have a timit example, I can send to you through email.
Jun 29, 2015 at 2:41 AM
Edited Jun 29, 2015 at 2:43 AM
Hello.

I'll check DOCUMENTATION.txt file.


Okay, I'll check your timit example if you send your example to me through email.

My email address is:
redizard@sogang.ac.kr
Best regards,
Donghyun
Jul 5, 2015 at 1:53 AM
Hello.

Did you send email to me before?

Because I didn't get email until now.

and I think I'll delete my email in here, because of my privacy.

Best regards,

Donghyun