kaldi command not found

来源:互联网 发布:麦当劳上海数据 编辑:程序博客网 时间:2024/06/05 03:37

local/timit_data_prep.sh: line 108: wav-to-duration: command not found

1.将下载好的语料库解压后放到kaldi-trunk/egs/timit目录下,然后文件夹可以设置为data,data下存放的就是下载好的timit语料。

   2.把timit.rar里面的东西拷贝到kaldi-trunk/egs/timit/data中,我的数据是rar格式的,所以在windows下解压,然后winscp拷贝

 

   3.完成步骤1后,然后进入timit/s5目录下,打开run.sh,找到以下内容

timit就是设置timit数据库的路径下的环境变量

我们将第一步放置语料的数据库路径填入即可,我的路径为

   timit=~/kaldi-trunk/egs/data

 4.修改运行环境:修改kaldi-trunk/egs/timit/s5中的cmd.sh,默认是运行#a)JHU cluster,改成运行#c)run it local

#a) JHU cluster options

#export train_cmd="queue.pl -l arch=*64"

#export decode_cmd="queue.pl -larch=*64,mem_free=2G,ram_free=2G"

#export mkgraph_cmd="queue.pl -larch=*64,ram_free=4G,mem_free=4G"

#export cuda_cmd=run.pl

 

#b) BUT cluster options

#export train_cmd="queue.pl -q all.q@@blade -lram_free=1200M,mem_free=1200M"

#export decode_cmd="queue.pl -q all.q@@blade-l ram_free=1700M,mem_free=1700M"

#export decodebig_cmd="queue.pl -qall.q@@blade -l ram_free=4G,mem_free=4G"

#export cuda_cmd="queue.pl -q long.q@@pco203-l gpu=1"

#export cuda_cmd="queue.pl -qlong.q@pcspeech-gpu"

#export mkgraph_cmd="queue.pl -qall.q@@servers -l ram_free=4G,mem_free=4G"

 

#c) run it locally...

export train_cmd=run.pl

export decode_cmd=run.pl

export cuda_cmd=run.pl

export mkgraph_cmd=run.pl

 

5.运行以后,发现,报错了。。。。。。

yuanyin shi zai src make wei quanbuwancheng!

mingling :

root@myp123:/home/myp# cd kaldi-trunk
root@myp123:/home/myp/kaldi-trunk# cd src
root@myp123:/home/myp/kaldi-trunk/src# make

make wan jiuhaole ,qitade yinggai yeshileiside

1 0
原创粉丝点击