Commit 9287500a authored by Milos CERNAK's avatar Milos CERNAK

Updated DNN-VAD decision

parent cbcb6eb9
Pipeline #11930 passed with stages
in 7 minutes and 38 seconds
......@@ -144,8 +144,8 @@ def compute_dnn_vad(samples, rate, silence_threshold=0.9, posterior=0):
vad = []
for row in post:
if row[posterior] > silence_threshold:
vad.append(1.0)
else:
vad.append(0.0)
else:
vad.append(1.0)
return vad
0
0
0
0
1
1
1
0
1
0
0
0
1
1
0
0
1
1
0
0
0
1
1
1
0
......@@ -29,37 +21,8 @@
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
......@@ -76,7 +39,6 @@
1
1
1
0
1
1
1
......@@ -87,24 +49,8 @@
1
1
1
0
0
1
1
0
0
0
0
0
0
1
0
1
0
0
0
0
1
1
1
1
......@@ -120,8 +66,6 @@
0
0
0
1
1
0
0
0
......@@ -131,76 +75,34 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
0
0
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
0
1
0
0
0
0
0
1
0
0
......@@ -215,27 +117,20 @@
0
0
0
1
1
1
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
......@@ -262,56 +157,161 @@
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
1
1
1
1
1
1
1
0
0
0
1
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
1
0
0
1
0
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment