From 4edebdfebabae0d0bfaebab78200ee7175c768d2 Mon Sep 17 00:00:00 2001 From: DragonDreamer Date: Tue, 9 Nov 2021 13:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dsynthesizer/models/tacotron.E?= =?UTF-8?q?ncoder=E6=B3=A8=E9=87=8A=E9=94=99=E8=AF=AF=20(#203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix Issue#202 --- synthesizer/models/tacotron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthesizer/models/tacotron.py b/synthesizer/models/tacotron.py index 87a481a..5c83f31 100644 --- a/synthesizer/models/tacotron.py +++ b/synthesizer/models/tacotron.py @@ -60,7 +60,7 @@ class Encoder(nn.Module): idx = 1 # Start by making a copy of each speaker embedding to match the input text length - # The output of this has size (batch_size, num_chars * tts_embed_dims) + # The output of this has size (batch_size, num_chars * speaker_embedding_size) speaker_embedding_size = speaker_embedding.size()[idx] e = speaker_embedding.repeat_interleave(num_chars, dim=idx)