mirror of
https://github.com/dscripka/openWakeWord.git
synced 2026-08-27 18:17:20 -04:00
Set explicit dtype
This commit is contained in:
parent
e9ceed3de6
commit
db351b0eec
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class VAD():
|
|||
self.prediction_buffer: deque = deque(maxlen=125) # buffer lenght of 10 seconds
|
||||
|
||||
# Set model parameters
|
||||
self.sample_rate = np.array(16000)
|
||||
self.sample_rate = np.array(16000).astype(np.int64)
|
||||
|
||||
# Reset model to start
|
||||
self.reset_states()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue