From 09e165465f6bf0dac58b41fc5937ec934718eaf2 Mon Sep 17 00:00:00 2001 From: innnky <67028263+innnky@users.noreply.github.com> Date: Thu, 30 Mar 2023 19:10:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=87=8D=E5=A4=A7bug]=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=8D=95=E8=AF=B4=E8=AF=9D=E4=BA=BA=E6=95=B0=E6=8D=AE=E9=9B=86?= =?UTF-8?q?=E5=8A=A0=E8=BD=BDemotion=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_utils.py b/data_utils.py index cf7f442..263dc7e 100644 --- a/data_utils.py +++ b/data_utils.py @@ -148,7 +148,7 @@ def __call__(self, batch): wav_padded[i, :, :wav.size(1)] = wav wav_lengths[i] = wav.size(1) - emo[:] = row[3] + emo[i, :] = row[3] if self.return_ids: return text_padded, text_lengths, spec_padded, spec_lengths, wav_padded, wav_lengths, ids_sorted_decreasing