From d8b586e02cd14f7eed6b330bd4f110cb1e7f24ad Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期二, 09 一月 2024 20:33:12 +0800 Subject: [PATCH] funasr1.0 modelscope --- funasr/losses/label_smoothing_loss.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/funasr/losses/label_smoothing_loss.py b/funasr/losses/label_smoothing_loss.py index c272ea8..8f0809a 100644 --- a/funasr/losses/label_smoothing_loss.py +++ b/funasr/losses/label_smoothing_loss.py @@ -8,7 +8,7 @@ import torch from torch import nn -from funasr.modules.nets_utils import make_pad_mask +from funasr.models.transformer.utils.nets_utils import make_pad_mask class LabelSmoothingLoss(nn.Module): -- Gitblit v1.9.1