From 8cd0d4aab71939e56539ff6c1027b37ad4324433 Mon Sep 17 00:00:00 2001
From: Steve Li <93230279+BitSteve@users.noreply.github.com>
Date: 星期五, 15 十一月 2024 11:03:31 +0800
Subject: [PATCH] Add bounds check for postprocess_utils.py abbr_dispose() (#2209)
---
funasr/train_utils/trainer_ds.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/train_utils/trainer_ds.py b/funasr/train_utils/trainer_ds.py
index f1d70e2..85513a5 100644
--- a/funasr/train_utils/trainer_ds.py
+++ b/funasr/train_utils/trainer_ds.py
@@ -478,7 +478,7 @@
for k_ex in self.excludes:
k_tmp = k.replace("module.", "")
if k_tmp.startswith(k_ex):
- logging.info(f"key: {{k}} matching: {k_ex}, excluded")
+ logging.info(f"key: {k} matching: {k_ex}, excluded")
excludes_flag = True
break
if excludes_flag:
--
Gitblit v1.9.1