Closed samialsindi closed 3 years ago
Try substituting line 3 with the line below and let us know if you see any other issues.
mel, sid, text, attn_prior = dataset[i]
Thanks for the quick response I did this and now I get this error:
TypeError Traceback (most recent call last)
We need to pass out_lens. Check which dimension of mel is different from 1 and 80, should be dimension 2. Assuming it's dimension 2, the code below should work: Let us know if you see other issues.
out_lens = torch.LongTensor([mel.shape[2]]).cuda()
z = model(mel, sid, text, in_lens, out_lens)[0]
These two changes you suggested have fixed the issue completely, thank you for the quick response and excellent help
Hi, thanks for making this code available. I've been able to get inferencing to work in the inference.py but not the style transfer notebook.
Specifically, I get this (using your supplied 'surprised' examples):
ValueError Traceback (most recent call last)