From 998daa5bcacb29e58dfdf672c8d6b71279f74ee2 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Thu, 10 Oct 2019 14:31:29 +0200 Subject: [PATCH] Remove sample rate parameter usage from evaluate_tflite.py --- evaluate_tflite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluate_tflite.py b/evaluate_tflite.py index 878f29b0..02e45af5 100644 --- a/evaluate_tflite.py +++ b/evaluate_tflite.py @@ -45,7 +45,7 @@ def tflite_worker(model, alphabet, lm, trie, queue_in, queue_out, gpu_mask): audio = np.frombuffer(fin.readframes(fin.getnframes()), np.int16) fin.close() - decoded = ds.stt(audio, fs) + decoded = ds.stt(audio) queue_out.put({'wav': wavname, 'prediction': decoded, 'ground_truth': msg['transcript']}) print(queue_out.qsize(), end='\r') # Update the current progress