summaryrefslogtreecommitdiff
path: root/kaldi_seq/src/kaldi_mmi.cpp
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-10-10 19:25:17 +0800
committerYimmon Zhuang <[email protected]>2015-10-10 19:25:17 +0800
commit85a76e8a91a3114e2061b8ffc1cad979c37a5873 (patch)
treed9efd7ed8c74cf2ef408a96b6acd08e4943fc590 /kaldi_seq/src/kaldi_mmi.cpp
parentccbafeb6f44cee8f23eb440a670ce16fdda58682 (diff)
disable batch when sequence training
Diffstat (limited to 'kaldi_seq/src/kaldi_mmi.cpp')
-rw-r--r--kaldi_seq/src/kaldi_mmi.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kaldi_seq/src/kaldi_mmi.cpp b/kaldi_seq/src/kaldi_mmi.cpp
index a64abd0..ea9b4f1 100644
--- a/kaldi_seq/src/kaldi_mmi.cpp
+++ b/kaldi_seq/src/kaldi_mmi.cpp
@@ -164,12 +164,11 @@ extern "C" {
// Select the GPU
#if HAVE_CUDA == 1
- CuDevice::Instantiate().SelectGpuId(use_gpu);
+ CuDevice::Instantiate().SelectGpuId(mmi->use_gpu);
#endif
// Read the class-frame-counts, compute priors
mmi->log_prior = new PdfPrior(prior_opts);
- PdfPrior &log_prior = *(mmi->log_prior);
// Read transition model
mmi->trans_model = new TransitionModel;