From 78ee057a99e8fb3c6ef9c0520a6bbd8c0f651cec Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期二, 06 二月 2024 17:38:58 +0800
Subject: [PATCH] update for funasr-app and bug fix
---
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