From 2ddfc27d5b69e5c1a38021554e97dae958328c20 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 01 二月 2024 17:29:28 +0800
Subject: [PATCH] Funasr1.0 (#1343)
---
funasr/metrics/compute_acc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/metrics/compute_acc.py b/funasr/metrics/compute_acc.py
index 2b45836..9d16e1f 100644
--- a/funasr/metrics/compute_acc.py
+++ b/funasr/metrics/compute_acc.py
@@ -5,7 +5,7 @@
Args:
pad_outputs (Tensor): Prediction tensors (B * Lmax, D).
- pad_targets (LongTensor): Target label tensors (B, Lmax).
+ pad_targets (LongTensor): Target label tensors (B, Lmax, D).
ignore_label (int): Ignore label id.
Returns:
--
Gitblit v1.9.1