From 2f5d11f8e2802410b0e9a04442d0e40966b46ce6 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期三, 19 七月 2023 11:20:24 +0800
Subject: [PATCH] bug fix for empty audio
---
funasr/models/e2e_sv.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/funasr/models/e2e_sv.py b/funasr/models/e2e_sv.py
index bd82c7c..8be63d4 100644
--- a/funasr/models/e2e_sv.py
+++ b/funasr/models/e2e_sv.py
@@ -1,4 +1,3 @@
-
"""
Author: Speech Lab, Alibaba Group, China
"""
@@ -13,7 +12,6 @@
from typing import Union
import torch
-from typeguard import check_argument_types
from funasr.layers.abs_normalize import AbsNormalize
from funasr.losses.label_smoothing_loss import (
@@ -57,7 +55,6 @@
pooling_layer: torch.nn.Module,
decoder: AbsDecoder,
):
- assert check_argument_types()
super().__init__()
# note that eos is the same as sos (equivalent ID)
--
Gitblit v1.9.1