From 9c21bbb96b95980ac059df991e442c437a69c828 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期一, 13 三月 2023 19:55:47 +0800
Subject: [PATCH] bug fix

---
 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 27095a6..7ba3e0b 100644
--- a/funasr/utils/timestamp_tools.py
+++ b/funasr/utils/timestamp_tools.py
@@ -134,7 +134,7 @@
         uttid_intersection = self._intersection(uttid_list1, uttid_list2)
         res = self.as_cal(uttid_intersection, ts_dict1, ts_dict2)
         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))
+        logging.warning("Following timestamp pair differs most: {}, detail:{}".format(self.max_shift, self.max_shift_uttid))
 
     def _intersection(self, list1, list2):
         set1 = set(list1)

--
Gitblit v1.9.1