zhifu gao
2024-03-15 675b4605e8d1d9a406f5e6fc3bc989ddc932b04b
funasr/utils/load_utils.py
@@ -89,8 +89,6 @@
    return array
def extract_fbank(data, data_len = None, data_type: str="sound", frontend=None, **kwargs):
    # import pdb;
    # pdb.set_trace()
    if isinstance(data, np.ndarray):
        data = torch.from_numpy(data)
        if len(data.shape) < 2: