From 9b466fde1e89ae21b37506e3e88c70ccfed6873a Mon Sep 17 00:00:00 2001
From: speech_asr <wangjiaming.wjm@alibaba-inc.com>
Date: 星期二, 18 四月 2023 17:56:42 +0800
Subject: [PATCH] update
---
funasr/train/trainer.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/funasr/train/trainer.py b/funasr/train/trainer.py
index 9574a0d..9c4af41 100644
--- a/funasr/train/trainer.py
+++ b/funasr/train/trainer.py
@@ -186,9 +186,6 @@
logging.warning("No keep_nbest_models is given. Change to [1]")
trainer_options.keep_nbest_models = [1]
keep_nbest_models = trainer_options.keep_nbest_models
-
- #assert batch_interval is set and >0
- assert trainer_options.batch_interval > 0
output_dir = Path(trainer_options.output_dir)
reporter = Reporter()
--
Gitblit v1.9.1