shixian.shi 3 лет назад
Родитель
Сommit
4b16316d49
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      funasr/utils/timestamp_tools.py

+ 1 - 1
funasr/utils/timestamp_tools.py

@@ -136,7 +136,7 @@ class AverageShiftCalculator():
         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: