From 6ca0d1f54c8b698e3315edab8aa9ba7227d7c9e7 Mon Sep 17 00:00:00 2001
From: wanchen.swc <wanchen.swc@alibaba-inc.com>
Date: 星期四, 16 三月 2023 18:53:57 +0800
Subject: [PATCH] [Quantization] run calib without grad
---
funasr/utils/timestamp_tools.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/utils/timestamp_tools.py b/funasr/utils/timestamp_tools.py
index b82c74a..4a367f8 100644
--- a/funasr/utils/timestamp_tools.py
+++ b/funasr/utils/timestamp_tools.py
@@ -55,6 +55,7 @@
res.append([int(timestamp[0] * 1000), int(timestamp[1] * 1000)])
return res
+
def time_stamp_sentence(punc_id_list, time_stamp_postprocessed, text_postprocessed):
res = []
if text_postprocessed is None:
--
Gitblit v1.9.1