Skip to content

Commit

Permalink
fix #22 (#28)
Browse files Browse the repository at this point in the history
* fix wrong implementation of generator

* update torch hub model url
  • Loading branch information
seungwonpark authored Nov 11, 2019
1 parent 7ac999e commit 8af1e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hubconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
model_params = {
'nvidia_tacotron2_LJ11_epoch3200': {
'mel_channel': 80,
'model_url': 'https://github.com/seungwonpark/melgan/releases/download/v0.1-alpha/nvidia_tacotron2_LJ11_epoch3200.pt',
'model_url': 'https://github.com/seungwonpark/melgan/releases/download/v0.2-alpha/nvidia_tacotron2_LJ11_epoch3200_v02.pt',
},
}

Expand Down
2 changes: 1 addition & 1 deletion model/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, mel_channel):
ResStack(32),

nn.LeakyReLU(),
nn.utils.weight_norm(nn.ConvTranspose1d(32, 1, kernel_size=7, stride=1, padding=3)),
nn.utils.weight_norm(nn.Conv1d(32, 1, kernel_size=7, stride=1, padding=3)),
nn.Tanh(),
)

Expand Down

0 comments on commit 8af1e9c

Please sign in to comment.