语帆 2 yıl önce
ebeveyn
işleme
84ad3e48a0
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      funasr/utils/load_utils.py

+ 1 - 0
funasr/utils/load_utils.py

@@ -34,6 +34,7 @@ def load_audio_text_image_video(data_or_path_or_list, fs: int = 16000, audio_fs:
     if isinstance(data_or_path_or_list, str) and os.path.exists(data_or_path_or_list): # local file
         if data_type is None or data_type == "sound":
             data_or_path_or_list, audio_fs = torchaudio.load(data_or_path_or_list)
+            pdb.set_trace()
             if kwargs.get("reduce_channels", True):
                 data_or_path_or_list = data_or_path_or_list.mean(0)
         elif data_type == "text" and tokenizer is not None: