Remove sample rate parameter usage from evaluate_tflite.py

This commit is contained in:
Reuben Morais 2019-10-10 14:31:29 +02:00
parent baaa5842b2
commit 998daa5bca
1 changed files with 1 additions and 1 deletions

View File

@ -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) audio = np.frombuffer(fin.readframes(fin.getnframes()), np.int16)
fin.close() fin.close()
decoded = ds.stt(audio, fs) decoded = ds.stt(audio)
queue_out.put({'wav': wavname, 'prediction': decoded, 'ground_truth': msg['transcript']}) queue_out.put({'wav': wavname, 'prediction': decoded, 'ground_truth': msg['transcript']})
print(queue_out.qsize(), end='\r') # Update the current progress print(queue_out.qsize(), end='\r') # Update the current progress