Modify finetune training related parameters in finetune.py
Then you can run the pipeline to finetune with:python python finetune.py
Or you can use the finetuned model for inference directly.
Setting parameters in infer.py
Then you can run the pipeline to infer with:python python infer.py
Modify inference related parameters in infer_after_finetune.py
test/wav.scp. If test/text is also exists, CER will be computedvalid.cer_ctc.ave.pbThen you can run the pipeline to finetune with:python python infer_after_finetune.py
Results
The decoding results can be found in $output_dir/decoding_results/text.cer, which includes recognition results of each sample and the CER metric of the whole test set.