|
|
|
@ -27,10 +27,10 @@ DEFINE_string(param_path, "avg_1.jit.pdiparams", "paddle nnet model param");
|
|
|
|
|
DEFINE_int32(nnet_decoder_chunk, 1, "paddle nnet forward chunk");
|
|
|
|
|
DEFINE_int32(receptive_field_length,
|
|
|
|
|
7,
|
|
|
|
|
"receptive field of two CNN(kernel=5) downsampling module.");
|
|
|
|
|
"receptive field of two CNN(kernel=3) downsampling module.");
|
|
|
|
|
DEFINE_int32(downsampling_rate,
|
|
|
|
|
4,
|
|
|
|
|
"two CNN(kernel=5) module downsampling rate.");
|
|
|
|
|
"two CNN(kernel=3) module downsampling rate.");
|
|
|
|
|
DEFINE_string(
|
|
|
|
|
model_input_names,
|
|
|
|
|
"audio_chunk,audio_chunk_lens,chunk_state_h_box,chunk_state_c_box",
|
|
|
|
@ -159,4 +159,4 @@ int main(int argc, char* argv[]) {
|
|
|
|
|
KALDI_LOG << "Done " << num_done << " utterances, " << num_err
|
|
|
|
|
<< " with errors.";
|
|
|
|
|
return (num_done != 0 ? 0 : 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|