From db308e75357ae686f5103123f157a7f79887a103 Mon Sep 17 00:00:00 2001
From: Kun Lu <71560661+CSLukkun@users.noreply.github.com>
Date: 星期二, 15 十月 2024 17:52:10 +0800
Subject: [PATCH] feat: add campplus merge_thr (#2135)
---
funasr/models/paraformer/cif_predictor.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/models/paraformer/cif_predictor.py b/funasr/models/paraformer/cif_predictor.py
index 535131f..24145cd 100644
--- a/funasr/models/paraformer/cif_predictor.py
+++ b/funasr/models/paraformer/cif_predictor.py
@@ -449,7 +449,7 @@
mask = mask.transpose(-1, -2).float()
mask = mask.squeeze(-1)
hidden, alphas, token_num = self.tail_process_fn(hidden, alphas, mask=mask)
- acoustic_embeds, cif_peak = cif_v1_export(hidden, alphas, self.threshold)
+ acoustic_embeds, cif_peak = cif_export(hidden, alphas, self.threshold)
return acoustic_embeds, token_num, alphas, cif_peak
--
Gitblit v1.9.1