iSTFTNet-pytorch icon indicating copy to clipboard operation
iSTFTNet-pytorch copied to clipboard

Fix TypeError: 'torch.device' object is not callable

Open leminhnguyen opened this issue 3 years ago • 0 comments

As the issue https://github.com/rishikksh20/iSTFTNet-pytorch/issues/1, the line 164 in stft.py was changed to https://github.com/rishikksh20/iSTFTNet-pytorch/blob/e928a6b604033a3857757562af36241f9225adfc/stft.py#L164

But inverse_transform.device() will raise the exception mentioned in the title. So it can be changed to inverse_transform.device to fix the problem.

leminhnguyen avatar Apr 04 '22 03:04 leminhnguyen