From c792311d94806cf7db5a3d41382dd181be7a28d6 Mon Sep 17 00:00:00 2001
From: season <season4675@gmail.com>
Date: 星期五, 30 六月 2023 11:49:55 +0800
Subject: [PATCH] [funasr-runtime-deploy 0.0.3] add funasr-runtime-deploy.sh for one-step-deployment (#690)
---
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 8f63df9..3ea34c0 100644
--- a/funasr/losses/label_smoothing_loss.py
+++ b/funasr/losses/label_smoothing_loss.py
@@ -97,7 +97,7 @@
normalize_length=False,
criterion=nn.NLLLoss(reduction='none'),
):
- """Construct an LabelSmoothingLoss object."""
+ """Construct an NllLoss object."""
super(NllLoss, self).__init__()
self.criterion = criterion
self.padding_idx = padding_idx
--
Gitblit v1.9.1