cmd.sh:
我々は明らかに、A、B、Cを対応する3つの分類があることがわかります。aとbのクラスタをc、次のようにアップ実行されます
それは我々が必要とするものです。私たちは、仮想マシン上で実行します。あなたは、スクリプトを変更する必要があります
# "queue.pl" uses qsub. The options to it are
# options to qsub. If you have GridEngine installed,
# change this to a queue you have access to.
# Otherwise, use "run.pl", which will run jobs locally
# (make sure your --num-jobs options are no more than
# the number of cpus on your machine.
#a) JHU cluster options
#export train_cmd="queue.pl -l arch=*64"
#export decode_cmd="queue.pl -l arch=*64,mem_free=2G,ram_free=2G"
#export mkgraph_cmd="queue.pl -l arch=*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 -l ram_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 -q all.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 -q long.q@pcspeech-gpu"
#export mkgraph_cmd="queue.pl -q all.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
Path.sh:
ここでは一般的に限り修正KALDI_ROOT =輸出などpwd
/../../ ..あなたがインストール代わりカルディディレクトリ、時々ありません
変更点は、実際の状況に応じて、することができます。
export KALDI_ROOT=`pwd`/../../..
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
Run.sh:
あなたは、あなただけ変更する必要がある、パスにどのようなデータを指定する必要があります
よう:
#timit=/export/corpora5/LDC/LDC93S1/timit/TIMIT # @JHU
timit=/mnt/matylda2/data/TIMIT/timit # @BUT
位置あなたのTIMITへのパスを変更します。
他のデータベースは同じです。
さらに、voxforgeまたはvystadial_czまたはこれらのデータベースをダウンロードすることができますvystadial_en、何のデータベースが可能で
、実験を行うためにこれらの利点を活用しません。
参照
[1] https://www.cnblogs.com/dahu-daqing/p/8484564.html