From 4b16316d4917f1c8da434218949343ccf1a817c9 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期一, 13 三月 2023 19:53:33 +0800
Subject: [PATCH] bug fic
---
funasr/utils/timestamp_tools.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/timestamp_tools.py b/funasr/utils/timestamp_tools.py
index 73f0c7a..27095a6 100644
--- a/funasr/utils/timestamp_tools.py
+++ b/funasr/utils/timestamp_tools.py
@@ -136,7 +136,7 @@
logging.warning("Average shift of {} and {}: {}.".format(file1, file2, str(res)[:8]))
logging.warning("Following timestamp pair differs most: {}, detail:{}".format(self.max_shift_uttid))
- def _intersection(list1, list2):
+ def _intersection(self, list1, list2):
set1 = set(list1)
set2 = set(list2)
if set1 == set2:
--
Gitblit v1.9.1