{"action":"created","issue":{"url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/102","repository_url":"https://api.github.com/repos/r9y9/wavenet_vocoder","labels_url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/102/comments","events_url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/102/events","html_url":"https://github.com/r9y9/wavenet_vocoder/issues/102","id":346416044,"node_id":"MDU6SXNzdWUzNDY0MTYwNDQ=","number":102,"title":"Synthesis for LJ Speech Model","user":{"login":"vijaysumaravi","id":33767759,"node_id":"MDQ6VXNlcjMzNzY3NzU5","avatar_url":"https://avatars3.githubusercontent.com/u/33767759?v=4","gravatar_id":"","url":"https://api.github.com/users/vijaysumaravi","html_url":"https://github.com/vijaysumaravi","followers_url":"https://api.github.com/users/vijaysumaravi/followers","following_url":"https://api.github.com/users/vijaysumaravi/following{/other_user}","gists_url":"https://api.github.com/users/vijaysumaravi/gists{/gist_id}","starred_url":"https://api.github.com/users/vijaysumaravi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijaysumaravi/subscriptions","organizations_url":"https://api.github.com/users/vijaysumaravi/orgs","repos_url":"https://api.github.com/users/vijaysumaravi/repos","events_url":"https://api.github.com/users/vijaysumaravi/events{/privacy}","received_events_url":"https://api.github.com/users/vijaysumaravi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T01:36:28Z","updated_at":"2018-08-01T01:44:59Z","closed_at":null,"author_association":"NONE","body":"When I run the code just for synthesis using the model I downloaded from the link provided, I get the following error: \r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"synthesis.py\", line 204, in <module>\r\n    waveform = wavegen(model, length, c=c, g=speaker_id, initial_value=initial_value, fast=True)\r\n  File \"synthesis.py\", line 128, in wavegen\r\n    log_scale_min=hparams.log_scale_min)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet_vocoder/wavenet.py\", line 335, in incremental_forward\r\n    x, h = f.incremental_forward(x, ct, gt)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet_vocoder/modules.py\", line 135, in incremental_forward\r\n    return self._forward(x, c, g, True)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet_vocoder/modules.py\", line 166, in _forward\r\n    c = _conv1x1_forward(self.conv1x1c, c, is_incremental)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet_vocoder/modules.py\", line 55, in _conv1x1_forward\r\n    x = conv.incremental_forward(x)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet_vocoder/conv.py\", line 45, in incremental_forward\r\n    output = F.linear(input.view(bsz, -1), weight, self.bias)\r\n  File \"/home/vijay/speech_tts/wavenet_vocoder/wavenet/lib/python3.5/site-packages/torch/nn/functional.py\", line 1024, in linear\r\n    return torch.addmm(bias, input, weight.t())\r\nRuntimeError: size mismatch, m1: [1 x 227], m2: [80 x 512] at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:249\r\n\r\n___________________________________________________________________________________________________\r\n\r\nMy command is: \r\npython synthesis.py --preset=models/20180510_mixture_lj_checkpoint_step000320000_ema.json --conditional=../singletaco/spectrogram.npy models/20180510_mixture_lj_checkpoint_step000320000_ema.pth generate/\r\n\r\n\r\nSpectrogramp.npy is 80x227\r\n\r\nAny help is appreciated. Thanks!"},"comment":{"url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/comments/409421490","html_url":"https://github.com/r9y9/wavenet_vocoder/issues/102#issuecomment-409421490","issue_url":"https://api.github.com/repos/r9y9/wavenet_vocoder/issues/102","id":409421490,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQyMTQ5MA==","user":{"login":"r9y9","id":1220272,"node_id":"MDQ6VXNlcjEyMjAyNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1220272?v=4","gravatar_id":"","url":"https://api.github.com/users/r9y9","html_url":"https://github.com/r9y9","followers_url":"https://api.github.com/users/r9y9/followers","following_url":"https://api.github.com/users/r9y9/following{/other_user}","gists_url":"https://api.github.com/users/r9y9/gists{/gist_id}","starred_url":"https://api.github.com/users/r9y9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r9y9/subscriptions","organizations_url":"https://api.github.com/users/r9y9/orgs","repos_url":"https://api.github.com/users/r9y9/repos","events_url":"https://api.github.com/users/r9y9/events{/privacy}","received_events_url":"https://api.github.com/users/r9y9/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T01:44:59Z","updated_at":"2018-08-01T01:44:59Z","author_association":"OWNER","body":"> RuntimeError: size mismatch, m1: [1 x 227], m2: [80 x 512] at \r\n\r\nI think this should be m1: [1 x 80], m2: [80 x 512]. So try swapping your mel-spectrogram?"}}
{"actor":{"display_login":"r9y9"}}