From 6df05f2e24f4b357aee8614f238638b97b74e540 Mon Sep 17 00:00:00 2001
From: lingyunfly <121302812+lingyunfly@users.noreply.github.com>
Date: 星期四, 13 四月 2023 14:23:03 +0800
Subject: [PATCH] vad bug fix

---
 funasr/datasets/large_datasets/datapipes/batch.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/datasets/large_datasets/datapipes/batch.py b/funasr/datasets/large_datasets/datapipes/batch.py
index c980ae3..8ec43e9 100644
--- a/funasr/datasets/large_datasets/datapipes/batch.py
+++ b/funasr/datasets/large_datasets/datapipes/batch.py
@@ -46,6 +46,7 @@
         batch = []
         bucket = []
         max_lengths = 0
+        min_lengths = 999999
         batch_lengths = 0
 
         if self.batch_mode == "clipping":

--
Gitblit v1.9.1