From 52fee96d71ba96fd09ad453dbae1926a1d601a56 Mon Sep 17 00:00:00 2001
From: 语帆 <yf352572@alibaba-inc.com>
Date: 星期三, 28 二月 2024 15:31:14 +0800
Subject: [PATCH] test

---
 funasr/auto/auto_model.py     |    2 +-
 funasr/models/lcbnet/model.py |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index 5cb2e6e..ba7dcab 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -141,7 +141,7 @@
             kwargs = download_model(**kwargs)
         
         set_all_random_seed(kwargs.get("seed", 0))
-        pdb.set_trace()
+
         device = kwargs.get("device", "cuda")
         if not torch.cuda.is_available() or kwargs.get("ngpu", 1) == 0:
             device = "cpu"
diff --git a/funasr/models/lcbnet/model.py b/funasr/models/lcbnet/model.py
index 45b1ee5..f8bbf7a 100644
--- a/funasr/models/lcbnet/model.py
+++ b/funasr/models/lcbnet/model.py
@@ -274,15 +274,12 @@
                 ind: int
         """
         with autocast(False):
-            pdb.set_trace()
             # Data augmentation
             if self.specaug is not None and self.training:
                 speech, speech_lengths = self.specaug(speech, speech_lengths)
-            pdb.set_trace()
             # Normalization for feature: e.g. Global-CMVN, Utterance-CMVN
             if self.normalize is not None:
                 speech, speech_lengths = self.normalize(speech, speech_lengths)
-        pdb.set_trace()
         # Forward encoder
         # feats: (Batch, Length, Dim)
         # -> encoder_out: (Batch, Length2, Dim2)

--
Gitblit v1.9.1