torch-stft
torch-stft copied to clipboard
The example code on my machine yields ValueError.
I use the exact example code as you provided in the README, but I caught error like this:
Traceback (most recent call last):
File "my_test.py", line 29, in <module>
print(np.mean((output - audio) ** 2)) # on order of 1e-16
ValueError: operands could not be broadcast together with shapes (1,1,220416) (1,220500)
I know it's okay to check the shape before further processing, but I just want to know how to resolve that.