mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 09:29:22 +08:00
Update utils.py
This commit is contained in:
@@ -118,8 +118,6 @@ class SileroVadDataset(Dataset):
|
|||||||
|
|
||||||
assert len(gt) == len(wav) / self.num_samples
|
assert len(gt) == len(wav) / self.num_samples
|
||||||
|
|
||||||
mask[gt == 0]
|
|
||||||
|
|
||||||
return wav, gt, mask
|
return wav, gt, mask
|
||||||
|
|
||||||
def get_ground_truth_annotated(self, annotation, audio_length_samples):
|
def get_ground_truth_annotated(self, annotation, audio_length_samples):
|
||||||
|
|||||||
Reference in New Issue
Block a user