QPPWG icon indicating copy to clipboard operation
QPPWG copied to clipboard

Support PyTorch >=1.7

Open unilight opened this issue 4 years ago • 1 comments
trafficstars

When using PyTorch >=1.7, the following error would occur at the beginning of training:

RuntimeError: stft input and window must be on the same device but got self on cuda:0 and window on cpu

A solution to this is https://github.com/kan-bayashi/ParallelWaveGAN/pull/225. However, this can be easily solved by using PyTorch <1.7, so this is rather a note for future users.

unilight avatar May 24 '21 20:05 unilight

Hi Unilight, thank you very much!! I will merge the modification into the current repo.

bigpon avatar Jun 02 '21 05:06 bigpon