Closed ghost closed 4 years ago
Maybe you use torch==1.7. Not yet tested. For quick fixing, please use torch<=1.6.
Maybe you use torch==1.7. Not yet tested. For quick fixing, please use torch<=1.6.
Resolved by using torch==1.6.0. Thank you!
Fixed in #225
I made my own recipe but I got this error when I started training. I have no idea how this error occurred because theoretically it shouldn't depend on which recipe I use. I don't even know which variable is not on GPU.
sc_loss, mag_loss = self.criterion["stft"](y_.squeeze(1), y.squeeze(1))
both y_ and y are on GPU.sc_l, mag_l = f(x, y)
both x and y are on GPU.x_stft = torch.stft(x, fft_size, hop_size, win_length, window)
x is on GPU.