From 4018b21cd41437f1e1b2e528d5521136f39ff2b1 Mon Sep 17 00:00:00 2001 From: Nina Drozd Date: Tue, 2 Feb 2021 17:49:17 +0000 Subject: MLECO-1253: update ASR example python app * add link to new wav2letter model from ModelZoo in Readme * update model input size * update to match new model's output Signed-off-by: Nina Drozd Change-Id: I8e85d025610a458e9ae7be93fd7179c71bac5b18 --- python/pyarmnn/examples/speech_recognition/run_audio_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/pyarmnn/examples/speech_recognition/run_audio_file.py') diff --git a/python/pyarmnn/examples/speech_recognition/run_audio_file.py b/python/pyarmnn/examples/speech_recognition/run_audio_file.py index c7e4c6bc31..942de2081c 100644 --- a/python/pyarmnn/examples/speech_recognition/run_audio_file.py +++ b/python/pyarmnn/examples/speech_recognition/run_audio_file.py @@ -65,7 +65,7 @@ def main(args): mfcc_params = MFCCParams(sampling_freq=16000, num_fbank_bins=128, mel_lo_freq=0, mel_hi_freq=8000, num_mfcc_feats=13, frame_len=512, use_htk_method=False, n_FFT=512) mfcc = MFCC(mfcc_params) - preprocessor = Preprocessor(mfcc, model_input_size=1044, stride=160) + preprocessor = Preprocessor(mfcc, model_input_size=296, stride=160) text = "" current_r_context = "" -- cgit v1.2.1