From ae7aff2e9cf6c79cf61e18cdc60ce68cf9f98400 Mon Sep 17 00:00:00 2001
From: majic31 <majic31@163.com>
Date: 星期二, 24 十二月 2024 17:51:11 +0800
Subject: [PATCH] fix: solve problems in sensevoice_bin.py related to argmax and unique, as mentioned in issue #2331 (#2332)

---
 funasr/models/whisper_lid/model.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/funasr/models/whisper_lid/model.py b/funasr/models/whisper_lid/model.py
index 0701f61..02cd373 100644
--- a/funasr/models/whisper_lid/model.py
+++ b/funasr/models/whisper_lid/model.py
@@ -140,8 +140,6 @@
                 text: (Batch, Length)
                 text_lengths: (Batch,)
         """
-        # import pdb;
-        # pdb.set_trace()
         if len(text_lengths.size()) > 1:
             text_lengths = text_lengths[:, 0]
         if len(speech_lengths.size()) > 1:

--
Gitblit v1.9.1