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 <nina.drozd@arm.com>
Change-Id: I8e85d025610a458e9ae7be93fd7179c71bac5b18
diff --git a/python/pyarmnn/examples/speech_recognition/run_audio_file.py b/python/pyarmnn/examples/speech_recognition/run_audio_file.py
index c7e4c6b..942de20 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 @@
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 = ""