зеркало из https://github.com/mozilla/kaldi.git
trunk: Updating SID and LID scripts to reflect change in how mem_free and ram_free parameters are used for multithreaded scripts on the CLSP grid.
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4750 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
495e4cfa69
Коммит
fac21fce24
|
@ -147,7 +147,7 @@ lid/train_full_ubm.sh --nj 30 --cmd "$train_cmd" data/train \
|
|||
#gmm-global-to-fgmm exp/diag_ubm_2048/final.dubm \
|
||||
# exp/full_ubm_2048/final.ubm
|
||||
|
||||
lid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=2G,ram_free=2G" \
|
||||
lid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=8G,ram_free=8G" \
|
||||
--num-iters 5 exp/full_ubm_2048/final.ubm data/train \
|
||||
exp/extractor_2048
|
||||
|
||||
|
|
|
@ -110,20 +110,13 @@ sid/train_full_ubm.sh --nj 30 --remove-low-count-gaussians false \
|
|||
data/train_female_8k exp/full_ubm_2048 exp/full_ubm_2048_female &
|
||||
wait
|
||||
|
||||
# note, the mem_free,ram_free is counted per thread... in this setup each
|
||||
# job has 4 processes running each with 4 threads; each job takes about 5G
|
||||
# of memory so we need about 20G, plus add memory for sum-accs to make it 25G.
|
||||
# but we'll submit using -pe smp 16, and this multiplies the memory requirement
|
||||
# by 16, so submitting with 2G as the requirement, to make the total
|
||||
# requirement 32, is reasonable.
|
||||
|
||||
# Train the iVector extractor for male speakers.
|
||||
sid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=2G,ram_free=2G" \
|
||||
sid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=8G,ram_free=8G" \
|
||||
--num-iters 5 exp/full_ubm_2048_male/final.ubm data/train_male \
|
||||
exp/extractor_2048_male
|
||||
|
||||
# The same for female speakers.
|
||||
sid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=2G,ram_free=2G" \
|
||||
sid/train_ivector_extractor.sh --cmd "$train_cmd -l mem_free=8G,ram_free=8G" \
|
||||
--num-iters 5 exp/full_ubm_2048_female/final.ubm data/train_female \
|
||||
exp/extractor_2048_female
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче