vincentherrmann / pytorch-wavenet

An implementation of WaveNet with fast generation
MIT License
968 stars 225 forks source link

RuntimeError: expand(torch.FloatTensor{[32, 1]}, size=[32]): the number of sizes provided (1) must be greater or equal to the number of dimensions in the tensor (2) #21

Open thesix opened 5 years ago

thesix commented 5 years ago

Hi,

I get this error when running train_script.py using the dataset.npz that comes with this repository. Any suggestions, hints?

ConstanceDws commented 5 years ago

Hi ; I have the same issue but with the generate_script, did you manage to solve it?

hyli666 commented 5 years ago

@ConstanceDws Change the code in wavenet_model.py/function queue_dilate: queue.enqueue(input)->queue.enqueue(input.squeeze())