diff options
author | Nina Drozd <nina.drozd@arm.com> | 2021-02-02 17:49:17 +0000 |
---|---|---|
committer | Richard <richard.burton@arm.com> | 2021-02-23 21:20:02 +0000 |
commit | 4018b21cd41437f1e1b2e528d5521136f39ff2b1 (patch) | |
tree | 5c1b790d1ebae59240281b49ef833d24f5aa7ef1 /python/pyarmnn/examples/speech_recognition/run_audio_file.py | |
parent | 0909c5602e2cbe7ac73a7db6787f7bdb1facd2ab (diff) | |
download | armnn-4018b21cd41437f1e1b2e528d5521136f39ff2b1.tar.gz |
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
Diffstat (limited to 'python/pyarmnn/examples/speech_recognition/run_audio_file.py')
-rw-r--r-- | python/pyarmnn/examples/speech_recognition/run_audio_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "" |