mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 18:09:22 +08:00
Update utils_vad.py
This commit is contained in:
@@ -203,7 +203,9 @@ def get_speech_ts_adaptive(wav: torch.Tensor,
|
|||||||
speeches: list
|
speeches: list
|
||||||
list containing ends and beginnings of speech chunks (in samples)
|
list containing ends and beginnings of speech chunks (in samples)
|
||||||
"""
|
"""
|
||||||
|
if visualize_probs:
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
num_samples = num_samples_per_window
|
num_samples = num_samples_per_window
|
||||||
num_steps = int(num_samples / step)
|
num_steps = int(num_samples / step)
|
||||||
assert min_silence_samples >= step
|
assert min_silence_samples >= step
|
||||||
|
|||||||
Reference in New Issue
Block a user