ba8cc8054b87779f78e5cc774f63476b2801df3b,models/tacotron.py,Tacotron,__init__,#Tacotron#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,10
Before Change
self.linear_dim = linear_dim
self.embedding = nn.Embedding(num_chars, 256)
self.embedding.weight.data.normal_(0, 0.3)
self.speaker_embedding = nn.Embedding(num_speakers,
256)
self.speaker_embedding.weight.data.normal_(0, 0.3)
self.encoder = Encoder(256)
self.decoder = Decoder(256, mel_dim, r, memory_size, attn_win,
attn_norm, prenet_type, prenet_dropout,
forward_attn, trans_agent, forward_attn_mask,
After Change
self.linear_dim = linear_dim
self.embedding = nn.Embedding(num_chars, 256)
self.embedding.weight.data.normal_(0, 0.3)
if num_speakers > 0:
self.speaker_embedding = nn.Embedding(num_speakers, 256)
self.speaker_embedding.weight.data.normal_(0, 0.3)
self.encoder = Encoder(256)
self.decoder = Decoder(256, mel_dim, r, memory_size, attn_win,
attn_norm, prenet_type, prenet_dropout,
forward_attn, trans_agent, forward_attn_mask,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: mozilla/TTS
Commit Name: ba8cc8054b87779f78e5cc774f63476b2801df3b
Time: 2019-07-01
Author: thomas@twerkmeister.com
File Name: models/tacotron.py
Class Name: Tacotron
Method Name: __init__
Project Name: mozilla/TTS
Commit Name: ba8cc8054b87779f78e5cc774f63476b2801df3b
Time: 2019-07-01
Author: thomas@twerkmeister.com
File Name: models/tacotron2.py
Class Name: Tacotron2
Method Name: __init__
Project Name: mozilla/TTS
Commit Name: ba8cc8054b87779f78e5cc774f63476b2801df3b
Time: 2019-07-01
Author: thomas@twerkmeister.com
File Name: models/tacotrongst.py
Class Name: TacotronGST
Method Name: __init__