WaveNet
WaveNet copied to clipboard
Generate_sample error?
In execution Generate_sample error :
sample = torch.cat((sample,new),dim=1) RuntimeError: zero-dimensional tensor (at position 1) cannot be concatenated
Can you tell me how to deal with it? thanks!
I have the same error. 😞 Please reply.
It is necessary to replace the line "new = m.sample ()" with "new = torch.reshape (m.sample (), (1, 1))". It helped me.