Commit f6908357 authored by Mickael Rouvier's avatar Mickael Rouvier
Browse files

disable on-the-fly adaptation

parent 3aa55c33
......@@ -886,11 +886,14 @@ static void gst_kaldinnet2onlinedecoder_loop(
//fprintf(stderr, " END final_result ()\n");
if (true || num_words > 0) {
// Only update adaptation state if the utterance was not empty
// No adaptation
/*
#ifdef THREADED_DECODER
decoder.GetAdaptationState(filter->adaptation_state);
#else
feature_pipeline.GetAdaptationState(filter->adaptation_state);
#endif
*/
}
} else {
GST_DEBUG_OBJECT(filter, "Less than 0.1 seconds decoded, discarding");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment