From 151c339ffeced822917e85255431fcfb74f24db9 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期二, 20 二月 2024 14:04:09 +0800
Subject: [PATCH] support transducer model inference
---
funasr/schedulers/warmup_lr.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/schedulers/warmup_lr.py b/funasr/schedulers/warmup_lr.py
index dbf3aca..95ebaca 100644
--- a/funasr/schedulers/warmup_lr.py
+++ b/funasr/schedulers/warmup_lr.py
@@ -3,7 +3,6 @@
import torch
from torch.optim.lr_scheduler import _LRScheduler
-from typeguard import check_argument_types
from funasr.schedulers.abs_scheduler import AbsBatchStepScheduler
@@ -30,7 +29,6 @@
warmup_steps: Union[int, float] = 25000,
last_epoch: int = -1,
):
- assert check_argument_types()
self.warmup_steps = warmup_steps
# __init__() must be invoked before setting field
--
Gitblit v1.9.1