r9y9 / wavenet_vocoder

WaveNet vocoder
https://r9y9.github.io/wavenet_vocoder/
Other
2.3k stars 500 forks source link

Colab failing for me on wavegen( line! #176

Closed Fredrum closed 4 years ago

Fredrum commented 4 years ago

Hi! I'm trying to run the Colab and think I have made it to the bottom sections. But in the cell starting with "waveforms = []" I'm getting an AssertionError like this:

---> 14 waveform = wavegen(model, c=c, fast=True, tqdm=tqdm) and --> 276 assert c.size(-1) == T

I have printed c and it shows me a list like this:

[[0.22273412 0.24694625 0.25681868 ... 0.1848222  0.18556547 0.19248171]
 [0.46306527 0.55471462 0.59366608 ... 0.22396632 0.23031804 0.2409184 ]
 [0.49767473 0.62194496 0.65828061 ... 0.18825465 0.21211667 0.23576558]
 ...
 [0.27914402 0.29630327 0.29429889 ... 0.00973525 0.0061481  0.00487916]
 [0.13561237 0.13847415 0.12988596 ... 0.         0.         0.        ]
 [0.         0.         0.         ... 0.         0.         0.        ]]

Does anyone know what could be going wrong?

Grateful for any pointers! Fred

r9y9 commented 4 years ago

Same as #177